Coinfer
  1. Model
Coinfer
  • Root markdown
  • Authorization
    • Get Auth0 login configuration
      GET
    • Login with Auth0.
      POST
    • Login with password.
      POST
    • Get information of current user.
      GET
    • Update information of current user.
      PUT
    • Logout the system.
      POST
    • List all of current user's tokens.
      GET
    • Create a new authorization token.
      POST
    • Update a token by its ID.
      PUT
    • Delete a token by its ID.
      DELETE
  • Other
    • Get changelogs of Coinfer.
      GET
  • Model
    • List models.
      GET
    • Delete models in batch.
      DELETE
    • Create a new model.
      POST
    • Update a model by its ID.
      POST
    • View a model by its ID.
      GET
    • View share snapshot of a model
      GET
    • Get configuration about how to run a model.
      GET
  • Share
    • Share a model specified by model ID.
      POST
    • Delete model shares.
      DELETE
    • Get basic share information of a model sharing.
      GET
    • Share an experiment.
      POST
    • Delete experiment shares.
      DELETE
    • Get sharing information of an experiment.
      GET
  • Experiment
    • List experiments or data.
    • Create an experiment.
    • Delete experiments in batch.
    • View an experiment by its ID.
    • Update an experiment by its ID.
    • View a data object by its ID.
    • Update a data object by its ID.
    • Delete a data object by its ID.
    • Get Cloudwatch logs
  1. Model

Update a model by its ID.

Testing Environment
https://dev.coinfer.ai
Testing Environment
https://dev.coinfer.ai
POST
https://dev.coinfer.ai
/turing/object/{objid}

Request

Path Params

Header Params

Body Params application/json

Example
{
    "content": {
        "meta": {
            "project_file": "Project.toml",
            "entrance_file": "main.jl",
            "entrance_func": "model",
            "manifest": "Manifest.toml"
        },
        "tree": [
            {
                "name": "string",
                "type": "file",
                "content": "",
                "children": []
            }
        ]
    },
    "name": "string",
    "version": "string",
    "description": "string",
    "status": "string"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.coinfer.ai/turing/object/' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "content": {
        "meta": {
            "project_file": "Project.toml",
            "entrance_file": "main.jl",
            "entrance_func": "model",
            "manifest": "Manifest.toml"
        },
        "tree": [
            {
                "name": "string",
                "type": "file",
                "content": "",
                "children": []
            }
        ]
    },
    "name": "string",
    "version": "string",
    "description": "string",
    "status": "string"
}'

Responses

🟢200OK
application/json
OK
Body

Example
{
    "status": "ok",
    "data": {
        "id": 0,
        "short_id": "string",
        "name": "string",
        "env": "string",
        "share_info": [
            {
                "id": "string",
                "password": "string",
                "user_id": "string",
                "to_user_id": "string"
            }
        ],
        "content": null
    }
}
🟠400Bad Request
Modified at 2025-02-14 07:00:18
Previous
Create a new model.
Next
View a model by its ID.
Built with