Dyno Phi
ContentsHTTP APIShow

Jobs

List the models you can run, then submit, price, check, and cancel jobs.

GET /v1/job-types

List job types

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/job-types

200 response (application/json)

200 response fields and schemaShow

Fields

NameType
job_typesrequired(object)[]
JSON schema
{
  "$ref": "#/$defs/JobTypesResponse",
  "$defs": {
    "CatalogPriceResponse": {
      "type": "object",
      "description": "The price of a standard basket, so two models can be compared on one number.",
      "required": [
        "credits",
        "count",
        "unit"
      ],
      "properties": {
        "credits": {
          "type": "integer"
        },
        "count": {
          "type": "integer"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "StagePricingResponse": {
      "type": "object",
      "required": [
        "stage",
        "unit",
        "cents",
        "cap",
        "gpu"
      ],
      "properties": {
        "stage": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        },
        "cents": {
          "type": "integer"
        },
        "cap": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "gpu": {
          "type": "string"
        },
        "per": {
          "type": "integer",
          "default": 1
        },
        "included": {
          "type": "integer",
          "default": 0
        },
        "start_cents": {
          "type": "integer",
          "default": 0
        },
        "basket": {
          "type": "integer",
          "default": 1
        }
      }
    },
    "InputConstraints": {
      "type": "object",
      "description": "Per-model input limits surfaced for discovery; a null field is undeclared.",
      "properties": {
        "max_chains": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "max_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "accepts_ligands": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobTypeParamsResponse": {
      "type": "object",
      "required": [
        "job_type",
        "credit_cost",
        "pricing",
        "params_schema",
        "inputs_schema",
        "available",
        "gate_reason",
        "environments",
        "input_constraints"
      ],
      "properties": {
        "job_type": {
          "type": "string"
        },
        "credit_cost": {
          "type": "integer"
        },
        "catalog_price": {
          "anyOf": [
            {
              "$ref": "#/$defs/CatalogPriceResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "rate_revision": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pricing": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StagePricingResponse"
          }
        },
        "params_schema": {
          "type": "object",
          "additionalProperties": true
        },
        "inputs_schema": {
          "type": "object",
          "additionalProperties": true
        },
        "available": {
          "type": "boolean"
        },
        "gate_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "environments": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "input_constraints": {
          "$ref": "#/$defs/InputConstraints"
        },
        "typical_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "purpose": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "notes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobTypesResponse": {
      "type": "object",
      "required": [
        "job_types"
      ],
      "properties": {
        "job_types": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JobTypeParamsResponse"
          }
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "job_types": [
    {
      "job_type": "<value>",
      "credit_cost": 0,
      "catalog_price": {
        "credits": 0,
        "count": 0,
        "unit": "<value>"
      },
      "rate_revision": "<value>",
      "pricing": [
        {
          "stage": "<value>",
          "unit": "<value>",
          "cents": 0,
          "cap": 0,
          "gpu": "<value>",
          "per": 1,
          "included": 0,
          "start_cents": 0,
          "basket": 1
        }
      ],
      "params_schema": {},
      "inputs_schema": {},
      "available": false,
      "gate_reason": "<value>",
      "environments": [
        "<value>"
      ],
      "input_constraints": {
        "max_chains": 0,
        "max_length": 0,
        "accepts_ligands": false
      },
      "typical_seconds": 0,
      "purpose": "<value>",
      "notes": "<value>"
    }
  ]
}

Returns 200 or 422.

GET /v1/job-types/{job_type}

Get job type

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/job-types/{job_type}

Parameters

NameType
job_typepath, requiredstring

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDescription
job_typerequiredstring
credit_costrequiredinteger
catalog_priceoptionalobject or null
rate_revisionoptionalstring or null
pricingrequired(object)[]
params_schemarequiredobject
inputs_schemarequiredobject
availablerequiredboolean
gate_reasonrequiredstring or null
environmentsrequired(string)[]
input_constraintsrequiredobjectPer-model input limits surfaced for discovery; a null field is undeclared.
typical_secondsoptionalinteger or null
purposeoptionalstring or null
notesoptionalstring or null
JSON schema
{
  "$ref": "#/$defs/JobTypeParamsResponse",
  "$defs": {
    "CatalogPriceResponse": {
      "type": "object",
      "description": "The price of a standard basket, so two models can be compared on one number.",
      "required": [
        "credits",
        "count",
        "unit"
      ],
      "properties": {
        "credits": {
          "type": "integer"
        },
        "count": {
          "type": "integer"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "StagePricingResponse": {
      "type": "object",
      "required": [
        "stage",
        "unit",
        "cents",
        "cap",
        "gpu"
      ],
      "properties": {
        "stage": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        },
        "cents": {
          "type": "integer"
        },
        "cap": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "gpu": {
          "type": "string"
        },
        "per": {
          "type": "integer",
          "default": 1
        },
        "included": {
          "type": "integer",
          "default": 0
        },
        "start_cents": {
          "type": "integer",
          "default": 0
        },
        "basket": {
          "type": "integer",
          "default": 1
        }
      }
    },
    "InputConstraints": {
      "type": "object",
      "description": "Per-model input limits surfaced for discovery; a null field is undeclared.",
      "properties": {
        "max_chains": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "max_length": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "accepts_ligands": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobTypeParamsResponse": {
      "type": "object",
      "required": [
        "job_type",
        "credit_cost",
        "pricing",
        "params_schema",
        "inputs_schema",
        "available",
        "gate_reason",
        "environments",
        "input_constraints"
      ],
      "properties": {
        "job_type": {
          "type": "string"
        },
        "credit_cost": {
          "type": "integer"
        },
        "catalog_price": {
          "anyOf": [
            {
              "$ref": "#/$defs/CatalogPriceResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "rate_revision": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pricing": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/StagePricingResponse"
          }
        },
        "params_schema": {
          "type": "object",
          "additionalProperties": true
        },
        "inputs_schema": {
          "type": "object",
          "additionalProperties": true
        },
        "available": {
          "type": "boolean"
        },
        "gate_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "environments": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "input_constraints": {
          "$ref": "#/$defs/InputConstraints"
        },
        "typical_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "purpose": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "notes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "job_type": "<value>",
  "credit_cost": 0,
  "catalog_price": {
    "credits": 0,
    "count": 0,
    "unit": "<value>"
  },
  "rate_revision": "<value>",
  "pricing": [
    {
      "stage": "<value>",
      "unit": "<value>",
      "cents": 0,
      "cap": 0,
      "gpu": "<value>",
      "per": 1,
      "included": 0,
      "start_cents": 0,
      "basket": 1
    }
  ],
  "params_schema": {},
  "inputs_schema": {},
  "available": false,
  "gate_reason": "<value>",
  "environments": [
    "<value>"
  ],
  "input_constraints": {
    "max_chains": 0,
    "max_length": 0,
    "accepts_ligands": false
  },
  "typical_seconds": 0,
  "purpose": "<value>",
  "notes": "<value>"
}

Returns 200 or 422.

GET /v1/jobs

List jobs

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/jobs

Parameters

NameTypeDefaultDescription
pagequery, optionalinteger1minimum: 1
page_sizequery, optionalinteger20minimum: 1; maximum: 200
job_typequery, optional(string)[] or null
statusquery, optional(string)[] or null
batch_idquery, optionalstring or null
minequery, optionalbooleanfalse
cursorquery, optionalstring or nullOpaque keyset cursor from a prior X-Next-Cursor header

200 response (application/json)

200 response fields and schemaShow

Fields

NameType
jobsrequired(object)[]
totalrequiredinteger
pagerequiredinteger
page_sizerequiredinteger
JSON schema
{
  "$ref": "#/$defs/JobListResponse",
  "$defs": {
    "JobStageResponse": {
      "type": "object",
      "required": [
        "stage",
        "status",
        "started_at",
        "completed_at",
        "error"
      ],
      "properties": {
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "exit_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "recommended_action": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "RUNNING",
            "COMPLETED",
            "FAILED",
            "CANCELLED",
            "ERROR"
          ]
        },
        "started_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "RunHeadline": {
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "pass_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "RunSummary": {
      "type": "object",
      "description": "A completed run at a glance. The headline and sample count are stored at\ncompletion; the duration is the run's own completed_at - created_at.",
      "properties": {
        "duration_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "headline": {
          "anyOf": [
            {
              "$ref": "#/$defs/RunHeadline"
            },
            {
              "type": "null"
            }
          ]
        },
        "sample_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobStatusResponse": {
      "type": "object",
      "required": [
        "job_id",
        "job_type",
        "project_id",
        "name",
        "status",
        "user_id",
        "estimated_credits",
        "consumed_credits",
        "created_at",
        "completed_at",
        "error",
        "stage",
        "outputs"
      ],
      "properties": {
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "exit_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "recommended_action": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "job_id": {
          "type": "string"
        },
        "job_type": {
          "type": "string"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "batch_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "RUNNING",
            "COMPLETED",
            "FAILED",
            "CANCELLED",
            "ERROR"
          ]
        },
        "user_id": {
          "type": "string"
        },
        "actor_kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "actor_ref": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "estimated_credits": {
          "type": "integer"
        },
        "consumed_credits": {
          "type": "integer"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "stage": {
          "anyOf": [
            {
              "$ref": "#/$defs/JobStageResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "outputs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "context": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "params": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "system_params": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "inputs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "input_manifest_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "typical_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "summary": {
          "anyOf": [
            {
              "$ref": "#/$defs/RunSummary"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobListResponse": {
      "type": "object",
      "required": [
        "jobs",
        "total",
        "page",
        "page_size"
      ],
      "properties": {
        "jobs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/JobStatusResponse"
          }
        },
        "total": {
          "type": "integer"
        },
        "page": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "jobs": [
    {
      "error_code": "<value>",
      "exit_code": 0,
      "recommended_action": "<value>",
      "job_id": "<value>",
      "job_type": "<value>",
      "project_id": "00000000-0000-4000-8000-000000000000",
      "name": "<value>",
      "batch_id": "<value>",
      "status": "PENDING",
      "user_id": "<value>",
      "actor_kind": "<value>",
      "actor_ref": "<value>",
      "estimated_credits": 0,
      "consumed_credits": 0,
      "created_at": "2026-01-01T00:00:00Z",
      "completed_at": "2026-01-01T00:00:00Z",
      "error": "<value>",
      "stage": {
        "error_code": "<value>",
        "exit_code": 0,
        "recommended_action": "<value>",
        "stage": "<value>",
        "status": "PENDING",
        "started_at": "2026-01-01T00:00:00Z",
        "completed_at": "2026-01-01T00:00:00Z",
        "error": "<value>"
      },
      "outputs": {},
      "context": {},
      "params": {},
      "system_params": {},
      "inputs": {},
      "input_manifest_uri": "<value>",
      "typical_seconds": 0,
      "summary": {
        "duration_seconds": 0,
        "headline": {
          "key": "<value>",
          "value": 0,
          "pass_count": 0
        },
        "sample_count": 0
      }
    }
  ],
  "total": 0,
  "page": 0,
  "page_size": 0
}

Returns 200 or 422.

POST /v1/jobs

Submit job

bash
curl -H "x-api-key: $PHI_KEY" -X POST https://api.dynophi.com/v1/jobs \
  -H "content-type: application/json" \
  -d '{"job_type":"ESMFOLD","inputs":{"sequences":["NLYIQWLKDGGPSSGRPPPS"]}}'

Body

NameType
job_typerequiredstring
nameoptionalstring or null
idempotency_keyoptionalstring or null
batch_idoptionalstring or null
project_idoptionalstring or null
project_nameoptionalstring or null
dataset_idoptionalstring or null
dataset_nameoptionalstring or null
inputsoptionalobject
paramsoptionalobject
graphoptionalobject
contextoptionalobject or null
Complete request schemaShow

Fields

NameType
job_typerequiredstring
nameoptionalstring or null
idempotency_keyoptionalstring or null
batch_idoptionalstring or null
project_idoptionalstring or null
project_nameoptionalstring or null
dataset_idoptionalstring or null
dataset_nameoptionalstring or null
inputsoptionalobject
paramsoptionalobject
graphoptionalobject
contextoptionalobject or null
JSON schema
{
  "$ref": "#/$defs/JobSubmitRequest",
  "$defs": {
    "JobSubmitRequest": {
      "type": "object",
      "required": [
        "job_type"
      ],
      "properties": {
        "job_type": {
          "type": "string"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "idempotency_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "batch_id": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            {
              "type": "null"
            }
          ]
        },
        "project_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "project_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "dataset_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "dataset_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "inputs": {
          "type": "object",
          "additionalProperties": true
        },
        "params": {
          "type": "object",
          "additionalProperties": true
        },
        "graph": {
          "type": "object"
        },
        "context": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

202 response (application/json)

202 response fields and schemaShow

Fields

NameType
job_idrequiredstring
statusrequired"PENDING" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED" | "ERROR"
job_typerequiredstring
estimated_creditsrequiredinteger
estimated_secondsoptionalinteger or null
status_urlrequiredstring
batch_idoptionalstring or null
JSON schema
{
  "$ref": "#/$defs/JobSubmitResponse",
  "$defs": {
    "JobSubmitResponse": {
      "type": "object",
      "required": [
        "job_id",
        "status",
        "job_type",
        "estimated_credits",
        "status_url"
      ],
      "properties": {
        "job_id": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "RUNNING",
            "COMPLETED",
            "FAILED",
            "CANCELLED",
            "ERROR"
          ]
        },
        "job_type": {
          "type": "string"
        },
        "estimated_credits": {
          "type": "integer"
        },
        "estimated_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "status_url": {
          "type": "string"
        },
        "batch_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "job_id": "<value>",
  "status": "PENDING",
  "job_type": "<value>",
  "estimated_credits": 0,
  "estimated_seconds": 0,
  "status_url": "<value>",
  "batch_id": "<value>"
}

Returns 202 or 422.

DELETE /v1/jobs/{job_id}

Cancel job

bash
curl -H "x-api-key: $PHI_KEY" -X DELETE https://api.dynophi.com/v1/jobs/{job_id}

Parameters

NameTypeDescription
job_idpath, requiredstringformat: uuid

204 response

No response body.

Returns 204 or 422.

GET /v1/jobs/{job_id}

Get job status

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/jobs/{job_id}

Parameters

NameTypeDescription
job_idpath, requiredstringformat: uuid

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDescription
error_codeoptionalstring or null
exit_codeoptionalinteger or null
recommended_actionoptionalstring or null
job_idrequiredstring
job_typerequiredstring
project_idrequiredstringformat: uuid
namerequiredstring or null
batch_idoptionalstring or null
statusrequired"PENDING" | "RUNNING" | "COMPLETED" | "FAILED" | "CANCELLED" | "ERROR"
user_idrequiredstring
actor_kindoptionalstring or null
actor_refoptionalstring or null
estimated_creditsrequiredinteger
consumed_creditsrequiredinteger
created_atrequiredstringformat: date-time
completed_atrequiredstring or null
errorrequiredstring or null
stagerequiredobject or null
outputsrequiredobject or null
contextoptionalobject or null
paramsoptionalobject or null
system_paramsoptionalobject or null
inputsoptionalobject or null
input_manifest_urioptionalstring or null
typical_secondsoptionalinteger or null
summaryoptionalobject or null
JSON schema
{
  "$ref": "#/$defs/JobStatusResponse",
  "$defs": {
    "JobStageResponse": {
      "type": "object",
      "required": [
        "stage",
        "status",
        "started_at",
        "completed_at",
        "error"
      ],
      "properties": {
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "exit_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "recommended_action": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "stage": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "RUNNING",
            "COMPLETED",
            "FAILED",
            "CANCELLED",
            "ERROR"
          ]
        },
        "started_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "RunHeadline": {
      "type": "object",
      "required": [
        "key",
        "value"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "value": {
          "type": "number"
        },
        "pass_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "RunSummary": {
      "type": "object",
      "description": "A completed run at a glance. The headline and sample count are stored at\ncompletion; the duration is the run's own completed_at - created_at.",
      "properties": {
        "duration_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "headline": {
          "anyOf": [
            {
              "$ref": "#/$defs/RunHeadline"
            },
            {
              "type": "null"
            }
          ]
        },
        "sample_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobStatusResponse": {
      "type": "object",
      "required": [
        "job_id",
        "job_type",
        "project_id",
        "name",
        "status",
        "user_id",
        "estimated_credits",
        "consumed_credits",
        "created_at",
        "completed_at",
        "error",
        "stage",
        "outputs"
      ],
      "properties": {
        "error_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "exit_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "recommended_action": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "job_id": {
          "type": "string"
        },
        "job_type": {
          "type": "string"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "batch_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING",
            "RUNNING",
            "COMPLETED",
            "FAILED",
            "CANCELLED",
            "ERROR"
          ]
        },
        "user_id": {
          "type": "string"
        },
        "actor_kind": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "actor_ref": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "estimated_credits": {
          "type": "integer"
        },
        "consumed_credits": {
          "type": "integer"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "completed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "stage": {
          "anyOf": [
            {
              "$ref": "#/$defs/JobStageResponse"
            },
            {
              "type": "null"
            }
          ]
        },
        "outputs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "context": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "params": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "system_params": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "inputs": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "input_manifest_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "typical_seconds": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "summary": {
          "anyOf": [
            {
              "$ref": "#/$defs/RunSummary"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "error_code": "<value>",
  "exit_code": 0,
  "recommended_action": "<value>",
  "job_id": "<value>",
  "job_type": "<value>",
  "project_id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "batch_id": "<value>",
  "status": "PENDING",
  "user_id": "<value>",
  "actor_kind": "<value>",
  "actor_ref": "<value>",
  "estimated_credits": 0,
  "consumed_credits": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "completed_at": "2026-01-01T00:00:00Z",
  "error": "<value>",
  "stage": {
    "error_code": "<value>",
    "exit_code": 0,
    "recommended_action": "<value>",
    "stage": "<value>",
    "status": "PENDING",
    "started_at": "2026-01-01T00:00:00Z",
    "completed_at": "2026-01-01T00:00:00Z",
    "error": "<value>"
  },
  "outputs": {},
  "context": {},
  "params": {},
  "system_params": {},
  "inputs": {},
  "input_manifest_uri": "<value>",
  "typical_seconds": 0,
  "summary": {
    "duration_seconds": 0,
    "headline": {
      "key": "<value>",
      "value": 0,
      "pass_count": 0
    },
    "sample_count": 0
  }
}

Returns 200 or 422.

GET /v1/jobs/{job_id}/embeddings

Get job embeddings

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/jobs/{job_id}/embeddings

Parameters

NameTypeDescription
job_idpath, requiredstringformat: uuid
limitquery, optionalinteger or null
cursorquery, optionalstring or null

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDefault
job_idrequiredstring
modelrequiredstring
model_idrequiredstring
poolingrequiredstring
vocaboptional(string)[]
mask_tokenoptionalstring""
mask_token_idoptionalinteger-1
embeddingsrequired(object)[]
index_urlrequiredstring
urls_signedrequiredboolean
next_cursoroptionalstring or null
JSON schema
{
  "$ref": "#/$defs/JobEmbeddingsResponse",
  "$defs": {
    "MutationScore": {
      "type": "object",
      "required": [
        "mutation"
      ],
      "properties": {
        "mutation": {
          "type": "string"
        },
        "delta_loglik": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "loglik": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "delta_loglik_vs_reference": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "EmbeddingRow": {
      "type": "object",
      "required": [
        "name",
        "seq_len"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "seq_len": {
          "type": "integer"
        },
        "layers": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "pooling": {
          "type": "string",
          "default": ""
        },
        "dtype": {
          "type": "string",
          "default": ""
        },
        "shape": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "embedding_url": {
          "type": "string",
          "default": ""
        },
        "cached": {
          "type": "boolean",
          "default": false
        },
        "residues": {
          "type": "string",
          "default": ""
        },
        "logits_url": {
          "type": "string",
          "default": ""
        },
        "logits_shape": {
          "type": "array",
          "items": {
            "type": "integer"
          }
        },
        "logits_dtype": {
          "type": "string",
          "default": ""
        },
        "logits_cached": {
          "type": "boolean",
          "default": false
        },
        "mutations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MutationScore"
          }
        },
        "reductions": {
          "type": "object",
          "additionalProperties": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "region": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "JobEmbeddingsResponse": {
      "type": "object",
      "required": [
        "job_id",
        "model",
        "model_id",
        "pooling",
        "embeddings",
        "index_url",
        "urls_signed"
      ],
      "properties": {
        "job_id": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "model_id": {
          "type": "string"
        },
        "pooling": {
          "type": "string"
        },
        "vocab": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "mask_token": {
          "type": "string",
          "default": ""
        },
        "mask_token_id": {
          "type": "integer",
          "default": -1
        },
        "embeddings": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmbeddingRow"
          }
        },
        "index_url": {
          "type": "string"
        },
        "urls_signed": {
          "type": "boolean"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "job_id": "<value>",
  "model": "<value>",
  "model_id": "<value>",
  "pooling": "<value>",
  "vocab": [
    "<value>"
  ],
  "mask_token": "",
  "mask_token_id": -1,
  "embeddings": [
    {
      "name": "<value>",
      "seq_len": 0,
      "layers": [
        0
      ],
      "pooling": "",
      "dtype": "",
      "shape": [
        0
      ],
      "embedding_url": "",
      "cached": false,
      "residues": "",
      "logits_url": "",
      "logits_shape": [
        0
      ],
      "logits_dtype": "",
      "logits_cached": false,
      "mutations": [
        {
          "mutation": "<value>",
          "delta_loglik": 0,
          "loglik": 0,
          "delta_loglik_vs_reference": 0,
          "error": "<value>"
        }
      ],
      "reductions": {},
      "region": [
        0
      ],
      "error": "<value>"
    }
  ],
  "index_url": "<value>",
  "urls_signed": false,
  "next_cursor": "<value>"
}

Returns 200 or 422.

POST /v1/jobs/estimate

Estimate job

bash
curl -H "x-api-key: $PHI_KEY" -X POST https://api.dynophi.com/v1/jobs/estimate \
  -H "content-type: application/json" \
  -d '{"job_type":"ESMFOLD","inputs":{"sequences":["NLYIQWLKDGGPSSGRPPPS"]}}'

Body

NameType
job_typerequiredstring
paramsoptionalobject
inputsoptionalobject
graphoptionalobject
Complete request schemaShow

Fields

NameType
job_typerequiredstring
paramsoptionalobject
inputsoptionalobject
graphoptionalobject
JSON schema
{
  "$ref": "#/$defs/JobEstimateRequest",
  "$defs": {
    "JobEstimateRequest": {
      "type": "object",
      "required": [
        "job_type"
      ],
      "properties": {
        "job_type": {
          "type": "string"
        },
        "params": {
          "type": "object",
          "additionalProperties": true
        },
        "inputs": {
          "type": "object",
          "additionalProperties": true
        },
        "graph": {
          "type": "object"
        }
      }
    }
  }
}

200 response (application/json)

200 response fields and schemaShow

Fields

NameType
job_typerequiredstring
estimated_creditsrequiredinteger
rate_revisionrequiredstring
breakdownrequired(object)[]
JSON schema
{
  "$ref": "#/$defs/JobEstimateResponse",
  "$defs": {
    "QuoteLineResponse": {
      "type": "object",
      "required": [
        "stage",
        "unit",
        "count",
        "cents"
      ],
      "properties": {
        "stage": {
          "type": "string"
        },
        "unit": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "cents": {
          "type": "integer"
        }
      }
    },
    "JobEstimateResponse": {
      "type": "object",
      "required": [
        "job_type",
        "estimated_credits",
        "rate_revision",
        "breakdown"
      ],
      "properties": {
        "job_type": {
          "type": "string"
        },
        "estimated_credits": {
          "type": "integer"
        },
        "rate_revision": {
          "type": "string"
        },
        "breakdown": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/QuoteLineResponse"
          }
        }
      }
    }
  }
}

Illustrative response shape. Values are placeholders, not a recorded result.

json
{
  "job_type": "<value>",
  "estimated_credits": 0,
  "rate_revision": "<value>",
  "breakdown": [
    {
      "stage": "<value>",
      "unit": "<value>",
      "count": 0,
      "cents": 0
    }
  ]
}

Returns 200 or 422.

From phi-api 0.2.2, 2026-11-23.