Dyno Phi
ContentsHTTP APIShow

Projects

Create, read, update, and delete projects.

GET /v1/projects

List projects

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

Parameters

NameTypeDefaultDescription
pagequery, optionalinteger1minimum: 1
page_sizequery, optionalinteger20minimum: 1; maximum: 200
minequery, optionalbooleanfalse
cursorquery, optionalstring or nullOpaque keyset cursor from a prior X-Next-Cursor header
includequery, optionalstring or nullComma-separated extras: counts adds each project's runs by state.

200 response (application/json)

200 response fields and schemaShow
JSON schema
{
  "type": "array",
  "items": {
    "$ref": "#/$defs/ProjectResponse"
  },
  "$defs": {
    "ProjectCountsResponse": {
      "type": "object",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "running": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        }
      }
    },
    "ProjectResponse": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "target_pdb_uri",
        "target_chain_id",
        "binder_chain_id",
        "status",
        "created_by",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "binder_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string"
        },
        "created_by": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "counts": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProjectCountsResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

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

json
[
  {
    "id": "00000000-0000-4000-8000-000000000000",
    "name": "<value>",
    "description": "<value>",
    "target_pdb_uri": "<value>",
    "target_chain_id": "<value>",
    "binder_chain_id": "<value>",
    "status": "<value>",
    "created_by": "<value>",
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z",
    "counts": {
      "running": 0,
      "queued": 0,
      "finished": 0,
      "failed": 0
    }
  }
]

Returns 200 or 422.

POST /v1/projects

Create project

bash
curl -H "x-api-key: $PHI_KEY" -X POST https://api.dynophi.com/v1/projects \
  -H "content-type: application/json" \
  -d '{
  "name": "<name>"
}'

Body

NameTypeDefault
namerequiredstring
descriptionoptionalstring or null
target_pdb_urioptionalstring or null
target_chain_idoptionalstring"A"
binder_chain_idoptionalstring"B"
Complete request schemaShow

Fields

NameTypeDefault
namerequiredstring
descriptionoptionalstring or null
target_pdb_urioptionalstring or null
target_chain_idoptionalstring"A"
binder_chain_idoptionalstring"B"
JSON schema
{
  "$ref": "#/$defs/ProjectCreate",
  "$defs": {
    "ProjectCreate": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_chain_id": {
          "type": "string",
          "default": "A"
        },
        "binder_chain_id": {
          "type": "string",
          "default": "B"
        }
      }
    }
  }
}

201 response (application/json)

201 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
target_pdb_urirequiredstring or null
target_chain_idrequiredstring or null
binder_chain_idrequiredstring or null
statusrequiredstring
created_byrequiredstring
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
countsoptionalobject or null
JSON schema
{
  "$ref": "#/$defs/ProjectResponse",
  "$defs": {
    "ProjectCountsResponse": {
      "type": "object",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "running": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        }
      }
    },
    "ProjectResponse": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "target_pdb_uri",
        "target_chain_id",
        "binder_chain_id",
        "status",
        "created_by",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "binder_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string"
        },
        "created_by": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "counts": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProjectCountsResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "target_pdb_uri": "<value>",
  "target_chain_id": "<value>",
  "binder_chain_id": "<value>",
  "status": "<value>",
  "created_by": "<value>",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z",
  "counts": {
    "running": 0,
    "queued": 0,
    "finished": 0,
    "failed": 0
  }
}

Returns 201 or 422.

DELETE /v1/projects/{project_id}

Archive project

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

Parameters

NameTypeDescription
project_idpath, requiredstringformat: uuid

204 response

No response body.

Returns 204 or 422.

GET /v1/projects/{project_id}

Get project

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

Parameters

NameTypeDescription
project_idpath, requiredstringformat: uuid

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
target_pdb_urirequiredstring or null
target_chain_idrequiredstring or null
binder_chain_idrequiredstring or null
statusrequiredstring
created_byrequiredstring
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
countsoptionalobject or null
JSON schema
{
  "$ref": "#/$defs/ProjectResponse",
  "$defs": {
    "ProjectCountsResponse": {
      "type": "object",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "running": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        }
      }
    },
    "ProjectResponse": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "target_pdb_uri",
        "target_chain_id",
        "binder_chain_id",
        "status",
        "created_by",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "binder_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string"
        },
        "created_by": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "counts": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProjectCountsResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "target_pdb_uri": "<value>",
  "target_chain_id": "<value>",
  "binder_chain_id": "<value>",
  "status": "<value>",
  "created_by": "<value>",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z",
  "counts": {
    "running": 0,
    "queued": 0,
    "finished": 0,
    "failed": 0
  }
}

Returns 200 or 422.

PATCH /v1/projects/{project_id}

Update project

bash
curl -H "x-api-key: $PHI_KEY" -X PATCH https://api.dynophi.com/v1/projects/{project_id} \
  -H "content-type: application/json" \
  -d '{}'

Parameters

NameTypeDescription
project_idpath, requiredstringformat: uuid

Body

NameType
nameoptionalstring or null
descriptionoptionalstring or null
Complete request schemaShow

Fields

NameType
nameoptionalstring or null
descriptionoptionalstring or null
JSON schema
{
  "$ref": "#/$defs/ProjectUpdate",
  "$defs": {
    "ProjectUpdate": {
      "type": "object",
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
target_pdb_urirequiredstring or null
target_chain_idrequiredstring or null
binder_chain_idrequiredstring or null
statusrequiredstring
created_byrequiredstring
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
countsoptionalobject or null
JSON schema
{
  "$ref": "#/$defs/ProjectResponse",
  "$defs": {
    "ProjectCountsResponse": {
      "type": "object",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "running": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "failed": {
          "type": "integer"
        }
      }
    },
    "ProjectResponse": {
      "type": "object",
      "required": [
        "id",
        "name",
        "description",
        "target_pdb_uri",
        "target_chain_id",
        "binder_chain_id",
        "status",
        "created_by",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "binder_chain_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "type": "string"
        },
        "created_by": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "counts": {
          "anyOf": [
            {
              "$ref": "#/$defs/ProjectCountsResponse"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "target_pdb_uri": "<value>",
  "target_chain_id": "<value>",
  "binder_chain_id": "<value>",
  "status": "<value>",
  "created_by": "<value>",
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z",
  "counts": {
    "running": 0,
    "queued": 0,
    "finished": 0,
    "failed": 0
  }
}

Returns 200 or 422.

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