Dyno Phi
ContentsPython SDKShow

phi.projects

Create projects and find the work they contain.

phi.projects.archive

python
phi.projects.archive(project_id=project_id)

Parameters

NameType
project_idrequiredstr | uuid.UUID

phi.projects.create

python
phi.projects.create(name=name)

Returns Project.

Parameters

NameTypeDefault
namerequiredstr
descriptionoptionalstr | NoneNone
Project fields and schemaShow

Fields

NameTypeDefaultDescription
binder_chain_idrequiredstring or null
countsoptionalobject or nullnull
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
statusrequiredstring
target_chain_idrequiredstring or null
target_pdb_urirequiredstring or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "description",
    "target_pdb_uri",
    "target_chain_id",
    "binder_chain_id",
    "status",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "binder_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "default": null,
      "anyOf": [
        {
          "$ref": "#/$defs/ProjectCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "target_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "ProjectCounts": {
      "type": "object",
      "description": "Run totals grouped by lifecycle state.",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "running": {
          "type": "integer"
        }
      }
    }
  }
}

phi.projects.get

python
phi.projects.get(project_id=project_id)

Returns Project.

Parameters

NameType
project_idrequiredstr | uuid.UUID
Project fields and schemaShow

Fields

NameTypeDefaultDescription
binder_chain_idrequiredstring or null
countsoptionalobject or nullnull
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
statusrequiredstring
target_chain_idrequiredstring or null
target_pdb_urirequiredstring or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "description",
    "target_pdb_uri",
    "target_chain_id",
    "binder_chain_id",
    "status",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "binder_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "default": null,
      "anyOf": [
        {
          "$ref": "#/$defs/ProjectCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "target_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "ProjectCounts": {
      "type": "object",
      "description": "Run totals grouped by lifecycle state.",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "running": {
          "type": "integer"
        }
      }
    }
  }
}

phi.projects.iter

python
phi.projects.iter()

Returns Iterator[Project].

Parameters

NameTypeDefault
page_sizeoptionalint20
mineoptionalboolFalse
Project fields and schemaShow

Fields

NameTypeDefaultDescription
binder_chain_idrequiredstring or null
countsoptionalobject or nullnull
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
statusrequiredstring
target_chain_idrequiredstring or null
target_pdb_urirequiredstring or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "description",
    "target_pdb_uri",
    "target_chain_id",
    "binder_chain_id",
    "status",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "binder_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "default": null,
      "anyOf": [
        {
          "$ref": "#/$defs/ProjectCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "target_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "ProjectCounts": {
      "type": "object",
      "description": "Run totals grouped by lifecycle state.",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "running": {
          "type": "integer"
        }
      }
    }
  }
}

phi.projects.list

python
phi.projects.list()

Returns CursorList[Project].

Parameters

NameTypeDefault
pageoptionalint1
page_sizeoptionalint20
mineoptionalboolFalse
cursoroptionalstr | NoneNone
include_countsoptionalboolFalse
Project fields and schemaShow

Fields

NameTypeDefaultDescription
binder_chain_idrequiredstring or null
countsoptionalobject or nullnull
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
statusrequiredstring
target_chain_idrequiredstring or null
target_pdb_urirequiredstring or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "description",
    "target_pdb_uri",
    "target_chain_id",
    "binder_chain_id",
    "status",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "binder_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "default": null,
      "anyOf": [
        {
          "$ref": "#/$defs/ProjectCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "target_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "ProjectCounts": {
      "type": "object",
      "description": "Run totals grouped by lifecycle state.",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "running": {
          "type": "integer"
        }
      }
    }
  }
}

phi.projects.update

python
phi.projects.update(project_id=project_id)

Returns Project.

Parameters

NameType
project_idrequiredstr | uuid.UUID
Project fields and schemaShow

Fields

NameTypeDefaultDescription
binder_chain_idrequiredstring or null
countsoptionalobject or nullnull
created_atrequiredstringformat: date-time
created_byrequiredstring
descriptionrequiredstring or null
idrequiredstringformat: uuid
namerequiredstring
statusrequiredstring
target_chain_idrequiredstring or null
target_pdb_urirequiredstring or null
updated_atrequiredstringformat: date-time
JSON schema
{
  "type": "object",
  "required": [
    "id",
    "name",
    "description",
    "target_pdb_uri",
    "target_chain_id",
    "binder_chain_id",
    "status",
    "created_by",
    "created_at",
    "updated_at"
  ],
  "properties": {
    "binder_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "counts": {
      "default": null,
      "anyOf": [
        {
          "$ref": "#/$defs/ProjectCounts"
        },
        {
          "type": "null"
        }
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "created_by": {
      "type": "string"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "target_chain_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "target_pdb_uri": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "ProjectCounts": {
      "type": "object",
      "description": "Run totals grouped by lifecycle state.",
      "required": [
        "running",
        "queued",
        "finished",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "integer"
        },
        "finished": {
          "type": "integer"
        },
        "queued": {
          "type": "integer"
        },
        "running": {
          "type": "integer"
        }
      }
    }
  }
}

From the installed client, phi 0.4.2, 2026-11-23.