phi.datasets.add_sequences
python
phi.datasets.add_sequences(dataset_id=dataset_id, sequence_ids=sequence_ids)Returns AddSequencesResult.
Parameters
| Name | Type |
|---|---|
| dataset_idrequired | str | uuid.UUID |
| sequence_idsrequired | Sequence[str | uuid.UUID] |
AddSequencesResult fields and schemaShowHide
Fields
| Name | Type |
|---|---|
| addedrequired | integer |
JSON schema
{
"type": "object",
"required": [
"added"
],
"properties": {
"added": {
"type": "integer"
}
}
}phi.datasets.copy
python
phi.datasets.copy(dataset_id=dataset_id, name=name)Returns Dataset.
Parameters
| Name | Type | Default |
|---|---|---|
| dataset_idrequired | str | uuid.UUID | |
| namerequired | str | |
| descriptionoptional | str | None | None |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}phi.datasets.create
python
phi.datasets.create(project_id=project_id, name=name)Returns Dataset.
Parameters
| Name | Type | Default |
|---|---|---|
| project_idrequired | str | uuid.UUID | |
| namerequired | str | |
| descriptionoptional | str | None | None |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}phi.datasets.delete
python
phi.datasets.delete(dataset_id=dataset_id)Parameters
| Name | Type |
|---|---|
| dataset_idrequired | str | uuid.UUID |
phi.datasets.export_sequences_csv
python
phi.datasets.export_sequences_csv(dataset_id=dataset_id)Returns Iterator[str].
Parameters
| Name | Type | Default |
|---|---|---|
| dataset_idrequired | str | uuid.UUID | |
| passes_alloptional | bool | None | None |
| is_starredoptional | bool | None | None |
| curation_statusoptional | str | None | None |
| plddt_minoptional | float | None | None |
| ipae_maxoptional | float | None | None |
| rmsd_maxoptional | float | None | None |
phi.datasets.get
python
phi.datasets.get(dataset_id=dataset_id)Returns Dataset.
Parameters
| Name | Type |
|---|---|
| dataset_idrequired | str | uuid.UUID |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}phi.datasets.iter_datasets
python
phi.datasets.iter_datasets(project_id=project_id)Returns Iterator[Dataset].
Parameters
| Name | Type | Default |
|---|---|---|
| project_idrequired | str | uuid.UUID | |
| page_sizeoptional | int | 50 |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}phi.datasets.iter_sequences
python
phi.datasets.iter_sequences(dataset_id=dataset_id)Returns Iterator[SequenceModel].
Parameters
| Name | Type | Default |
|---|---|---|
| dataset_idrequired | str | uuid.UUID | |
| page_sizeoptional | int | 50 |
| passes_alloptional | bool | None | None |
| is_starredoptional | bool | None | None |
| curation_statusoptional | str | None | None |
| plddt_minoptional | float | None | None |
| ipae_maxoptional | float | None | None |
| rmsd_maxoptional | float | None | None |
Sequence fields and schemaShowHide
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| alphafold_pdb_urirequired | string or null | ||
| backbone_urirequired | string or null | ||
| config_fingerprintoptional | string or null | null | |
| created_atrequired | string | format: date-time | |
| curated_atoptional | string or null | null | |
| curated_byoptional | string or null | null | |
| curation_statusrequired | string | ||
| dataset_idrequired | string or null | ||
| esmfold_pdb_urirequired | string or null | ||
| extraoptional | object or null | null | |
| gate_failed_criterionoptional | object or null | null | |
| gate_passedoptional | boolean or null | null | |
| idrequired | string | format: uuid | |
| import_idoptional | string or null | null | |
| is_starredrequired | boolean | ||
| lengthrequired | integer | ||
| namerequired | string or null | ||
| pae_json_urirequired | string or null | ||
| parent_idoptional | string or null | null | |
| passes_allrequired | boolean or null | ||
| pipeline_node_idoptional | string or null | null | |
| project_idrequired | string | format: uuid | |
| root_design_idoptional | string or null | null | |
| run_idrequired | string or null | ||
| score_modeoptional | string or null | null | |
| score_tooloptional | string or null | null | |
| scoresrequired | object | ||
| sequencerequired | string | ||
| updated_atrequired | string | format: date-time | |
| user_notesrequired | string or null |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"dataset_id",
"run_id",
"name",
"sequence",
"length",
"scores",
"passes_all",
"is_starred",
"user_notes",
"curation_status",
"esmfold_pdb_uri",
"alphafold_pdb_uri",
"pae_json_uri",
"backbone_uri",
"created_at",
"updated_at"
],
"properties": {
"alphafold_pdb_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"backbone_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config_fingerprint": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"curated_at": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"curated_by": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"curation_status": {
"type": "string"
},
"dataset_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"esmfold_pdb_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"extra": {
"default": null,
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"gate_failed_criterion": {
"default": null,
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"gate_passed": {
"default": null,
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string",
"format": "uuid"
},
"import_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"is_starred": {
"type": "boolean"
},
"length": {
"type": "integer"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pae_json_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parent_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"passes_all": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pipeline_node_id": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"type": "string",
"format": "uuid"
},
"root_design_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"run_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"score_mode": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"score_tool": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scores": {
"$ref": "#/$defs/SequenceScores"
},
"sequence": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"user_notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"$defs": {
"SequenceScores": {
"type": "object",
"required": [
"plddt",
"iptm",
"ipsae",
"ipae",
"rmsd"
],
"properties": {
"final_rank": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ipae": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae_max": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae_min": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"iptm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lis": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"n0res_max": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"n0res_min": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"n_contacts": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"pae_mean": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pdockq": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pdockq2": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_binder": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_complex": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_interface": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_scale": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"plddt_target": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rmsd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"selected": {
"default": null,
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
}
}
}
}phi.datasets.list
python
phi.datasets.list(project_id=project_id)Returns CursorList[Dataset].
Parameters
| Name | Type | Default |
|---|---|---|
| project_idrequired | str | uuid.UUID | |
| pageoptional | int | 1 |
| page_sizeoptional | int | 50 |
| cursoroptional | str | None | None |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}phi.datasets.list_sequences
python
phi.datasets.list_sequences(dataset_id=dataset_id)Returns SequenceListPage.
Parameters
| Name | Type | Default |
|---|---|---|
| dataset_idrequired | str | uuid.UUID | |
| pageoptional | int | 1 |
| page_sizeoptional | int | 50 |
| passes_alloptional | bool | None | None |
| is_starredoptional | bool | None | None |
| curation_statusoptional | str | None | None |
| plddt_minoptional | float | None | None |
| ipae_maxoptional | float | None | None |
| rmsd_maxoptional | float | None | None |
| cursoroptional | str | None | None |
| include_aggregatesoptional | bool | False |
SequenceListPage fields and schemaShowHide
Fields
| Name | Type | Default |
|---|---|---|
| gate_passingoptional | integer or null | null |
| gate_totaloptional | integer or null | null |
| next_cursoroptional | string or null | null |
| pass_rateoptional | number or null | null |
| sequencesrequired | (object)[] | |
| totaloptional | integer or null | null |
JSON schema
{
"type": "object",
"required": [
"sequences"
],
"properties": {
"gate_passing": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"gate_total": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"next_cursor": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pass_rate": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"sequences": {
"type": "array",
"items": {
"$ref": "#/$defs/Sequence"
}
},
"total": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"$defs": {
"SequenceScores": {
"type": "object",
"required": [
"plddt",
"iptm",
"ipsae",
"ipae",
"rmsd"
],
"properties": {
"final_rank": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"ipae": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae_max": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"ipsae_min": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"iptm": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lis": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"n0res_max": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"n0res_min": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"n_contacts": {
"default": null,
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"pae_mean": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pdockq": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pdockq2": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_binder": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_complex": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_interface": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"plddt_scale": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"plddt_target": {
"default": null,
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"rmsd": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"selected": {
"default": null,
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
}
},
"Sequence": {
"type": "object",
"required": [
"id",
"project_id",
"dataset_id",
"run_id",
"name",
"sequence",
"length",
"scores",
"passes_all",
"is_starred",
"user_notes",
"curation_status",
"esmfold_pdb_uri",
"alphafold_pdb_uri",
"pae_json_uri",
"backbone_uri",
"created_at",
"updated_at"
],
"properties": {
"alphafold_pdb_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"backbone_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"config_fingerprint": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string",
"format": "date-time"
},
"curated_at": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
},
"curated_by": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"curation_status": {
"type": "string"
},
"dataset_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"esmfold_pdb_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"extra": {
"default": null,
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"gate_failed_criterion": {
"default": null,
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
]
},
"gate_passed": {
"default": null,
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"id": {
"type": "string",
"format": "uuid"
},
"import_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"is_starred": {
"type": "boolean"
},
"length": {
"type": "integer"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"pae_json_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"parent_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"passes_all": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"pipeline_node_id": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"project_id": {
"type": "string",
"format": "uuid"
},
"root_design_id": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"run_id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"score_mode": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"score_tool": {
"default": null,
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"scores": {
"$ref": "#/$defs/SequenceScores"
},
"sequence": {
"type": "string"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"user_notes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
}
}
}
}phi.datasets.remove_sequence
python
phi.datasets.remove_sequence(dataset_id=dataset_id, sequence_id=sequence_id)Parameters
| Name | Type |
|---|---|
| dataset_idrequired | str | uuid.UUID |
| sequence_idrequired | str | uuid.UUID |
phi.datasets.update
python
phi.datasets.update(dataset_id=dataset_id)Returns Dataset.
Parameters
| Name | Type |
|---|---|
| dataset_idrequired | str | uuid.UUID |
Dataset fields and schemaShowHide
Fields
| Name | Type | Description |
|---|---|---|
| created_atrequired | string | format: date-time |
| created_byrequired | string | |
| descriptionrequired | string or null | |
| idrequired | string | format: uuid |
| namerequired | string | |
| project_idrequired | string | format: uuid |
| sequence_countrequired | integer | |
| statusrequired | string | |
| structure_countrequired | integer or null | |
| updated_atrequired | string | format: date-time |
JSON schema
{
"type": "object",
"required": [
"id",
"project_id",
"name",
"description",
"created_by",
"status",
"sequence_count",
"structure_count",
"created_at",
"updated_at"
],
"properties": {
"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"
},
"project_id": {
"type": "string",
"format": "uuid"
},
"sequence_count": {
"type": "integer"
},
"status": {
"type": "string"
},
"structure_count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}From the installed client, phi 0.4.2, 2026-11-23.