Dyno Phi
ContentsHTTP APIShow

Datasets

Create datasets and add, remove, copy, or export the sequences in them.

DELETE /v1/datasets/{dataset_id}

Archive dataset

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

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid

204 response

No response body.

Returns 204 or 422.

GET /v1/datasets/{dataset_id}

Get dataset

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

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid

200 response (application/json)

200 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
project_idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
created_byrequiredstring
statusrequiredstring
sequence_countrequiredinteger
structure_countoptionalinteger or null
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
JSON schema
{
  "$ref": "#/$defs/DatasetResponse",
  "$defs": {
    "DatasetResponse": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "name",
        "description",
        "created_by",
        "status",
        "sequence_count",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_by": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sequence_count": {
          "type": "integer"
        },
        "structure_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "project_id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "created_by": "<value>",
  "status": "<value>",
  "sequence_count": 0,
  "structure_count": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

Returns 200 or 422.

PATCH /v1/datasets/{dataset_id}

Update dataset

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

Parameters

NameTypeDescription
dataset_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/DatasetUpdate",
  "$defs": {
    "DatasetUpdate": {
      "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
project_idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
created_byrequiredstring
statusrequiredstring
sequence_countrequiredinteger
structure_countoptionalinteger or null
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
JSON schema
{
  "$ref": "#/$defs/DatasetResponse",
  "$defs": {
    "DatasetResponse": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "name",
        "description",
        "created_by",
        "status",
        "sequence_count",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_by": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sequence_count": {
          "type": "integer"
        },
        "structure_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "project_id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "created_by": "<value>",
  "status": "<value>",
  "sequence_count": 0,
  "structure_count": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

Returns 200 or 422.

POST /v1/datasets/{dataset_id}/copy

Copy dataset

Duplicate a dataset: creates a new dataset with fresh copies of all sequences (independent curation state, shared structure URIs).

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

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid

Body

NameType
namerequiredstring
descriptionoptionalstring or null
Complete request schemaShow

Fields

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

201 response (application/json)

201 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
project_idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
created_byrequiredstring
statusrequiredstring
sequence_countrequiredinteger
structure_countoptionalinteger or null
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
JSON schema
{
  "$ref": "#/$defs/DatasetResponse",
  "$defs": {
    "DatasetResponse": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "name",
        "description",
        "created_by",
        "status",
        "sequence_count",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_by": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sequence_count": {
          "type": "integer"
        },
        "structure_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "project_id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "created_by": "<value>",
  "status": "<value>",
  "sequence_count": 0,
  "structure_count": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

Returns 201 or 422.

GET /v1/datasets/{dataset_id}/sequences

List dataset sequences

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/datasets/{dataset_id}/sequences

Parameters

NameTypeDefaultDescription
dataset_idpath, requiredstringformat: uuid
pagequery, optionalinteger1minimum: 1
page_sizequery, optionalinteger50minimum: 1; maximum: 200
passes_allquery, optionalboolean or null
is_starredquery, optionalboolean or null
curation_statusquery, optionalstring or null
plddt_minquery, optionalnumber or null
ipae_maxquery, optionalnumber or null
rmsd_maxquery, optionalnumber or null
cursorquery, optionalstring or nullOpaque keyset cursor from a prior X-Next-Cursor header
include_aggregatesquery, optionalbooleanfalseCompute the whole-collection total, pass rate, and gate counts. Off by default because each is a full scan of the dataset's designs.

200 response (application/json)

200 response fields and schemaShow

Fields

NameType
sequencesrequired(object)[]
totaloptionalinteger or null
pass_rateoptionalnumber or null
gate_passingoptionalinteger or null
gate_totaloptionalinteger or null
passes_countoptionalinteger or null
evaluated_countoptionalinteger or null
JSON schema
{
  "$ref": "#/$defs/SequenceListResponse",
  "$defs": {
    "SequenceScores": {
      "type": "object",
      "required": [
        "plddt",
        "iptm",
        "ipsae",
        "ipae",
        "rmsd"
      ],
      "properties": {
        "plddt": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_binder": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_target": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_interface": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_complex": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "plddt_scale": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "iptm": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_max": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipsae_min": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_max": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n0res_min": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "n_contacts": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "ipae": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pae_mean": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "pdockq2": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "lis": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "rmsd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "final_rank": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "selected": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "SequenceResponse": {
      "type": "object",
      "required": [
        "id",
        "root_design_id",
        "project_id",
        "run_id",
        "name",
        "sequence",
        "length",
        "scores",
        "passes_all",
        "is_starred",
        "user_notes",
        "curation_status",
        "esmfold_pdb_uri",
        "alphafold_pdb_uri",
        "pae_json_uri",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "parent_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "root_design_id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "dataset_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "run_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "pipeline_node_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "config_fingerprint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "import_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sequence": {
          "type": "string"
        },
        "length": {
          "type": "integer"
        },
        "scores": {
          "$ref": "#/$defs/SequenceScores"
        },
        "score_tool": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "score_mode": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "passes_all": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "is_starred": {
          "type": "boolean"
        },
        "user_notes": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "curation_status": {
          "type": "string"
        },
        "curated_by": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "curated_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ]
        },
        "esmfold_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "alphafold_pdb_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "pae_json_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "backbone_uri": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "extra": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_passed": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_failed_criterion": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": true
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "passes": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "gates_failed": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "SequenceListResponse": {
      "type": "object",
      "required": [
        "sequences"
      ],
      "properties": {
        "sequences": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SequenceResponse"
          }
        },
        "total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "pass_rate": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_passing": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "gate_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "passes_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "evaluated_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  }
}

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

json
{
  "sequences": [
    {
      "id": "00000000-0000-4000-8000-000000000000",
      "parent_id": "00000000-0000-4000-8000-000000000000",
      "root_design_id": "00000000-0000-4000-8000-000000000000",
      "project_id": "00000000-0000-4000-8000-000000000000",
      "dataset_id": "00000000-0000-4000-8000-000000000000",
      "run_id": "00000000-0000-4000-8000-000000000000",
      "pipeline_node_id": "<value>",
      "config_fingerprint": "<value>",
      "import_id": "00000000-0000-4000-8000-000000000000",
      "name": "<value>",
      "sequence": "<value>",
      "length": 0,
      "scores": {
        "plddt": 0,
        "plddt_binder": 0,
        "plddt_target": 0,
        "plddt_interface": 0,
        "plddt_complex": 0,
        "plddt_scale": "<value>",
        "iptm": 0,
        "ipsae": 0,
        "ipsae_max": 0,
        "ipsae_min": 0,
        "n0res_max": 0,
        "n0res_min": 0,
        "n_contacts": 0,
        "ipae": 0,
        "pae_mean": 0,
        "pdockq": 0,
        "pdockq2": 0,
        "lis": 0,
        "rmsd": 0,
        "final_rank": 0,
        "selected": false
      },
      "score_tool": "<value>",
      "score_mode": "<value>",
      "passes_all": false,
      "is_starred": false,
      "user_notes": "<value>",
      "curation_status": "<value>",
      "curated_by": "<value>",
      "curated_at": "2026-01-01T00:00:00Z",
      "esmfold_pdb_uri": "<value>",
      "alphafold_pdb_uri": "<value>",
      "pae_json_uri": "<value>",
      "backbone_uri": "<value>",
      "extra": {},
      "gate_passed": false,
      "gate_failed_criterion": {},
      "created_at": "2026-01-01T00:00:00Z",
      "updated_at": "2026-01-01T00:00:00Z",
      "passes": false,
      "gates_failed": [
        "<value>"
      ]
    }
  ],
  "total": 0,
  "pass_rate": 0,
  "gate_passing": 0,
  "gate_total": 0,
  "passes_count": 0,
  "evaluated_count": 0
}

Returns 200 or 422.

POST /v1/datasets/{dataset_id}/sequences

Add sequences to dataset

Copy sequence designs into this dataset. Accepts canonical Design IDs (from /v1/sequences or /v1/projects/.../sequences). Creates new Design rows with independent curation state (fresh is_starred=False, curation_status='unreviewed') but shared scores and structure URIs. IDs must belong to the same organisation.

bash
curl -H "x-api-key: $PHI_KEY" -X POST https://api.dynophi.com/v1/datasets/{dataset_id}/sequences \
  -H "content-type: application/json" \
  -d '{
  "sequence_ids": [
    "<sequence_id>"
  ]
}'

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid

Body

NameType
sequence_idsrequired(string)[]
Complete request schemaShow

Fields

NameType
sequence_idsrequired(string)[]
JSON schema
{
  "$ref": "#/$defs/AddSequencesRequest",
  "$defs": {
    "AddSequencesRequest": {
      "type": "object",
      "required": [
        "sequence_ids"
      ],
      "properties": {
        "sequence_ids": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        }
      }
    }
  }
}

201 response (application/json)

201 response fields and schemaShow
JSON schema
{
  "type": "object",
  "additionalProperties": true
}

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

json
{}

Returns 201 or 422.

DELETE /v1/datasets/{dataset_id}/sequences/{sequence_id}

Remove sequence from dataset

Remove (hard-delete) a sequence design from a dataset. This permanently deletes the Design row. For run-originated sequences this removes the entry from the collection; for copied sequences it removes the copy only (the source Design in its original dataset is unaffected).

bash
curl -H "x-api-key: $PHI_KEY" -X DELETE https://api.dynophi.com/v1/datasets/{dataset_id}/sequences/{sequence_id}

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid
sequence_idpath, requiredstringformat: uuid

204 response

No response body.

Returns 204 or 422.

GET /v1/datasets/{dataset_id}/sequences/export

Export dataset sequences CSV

Export dataset sequences as CSV. Accepts the same filter params as the list endpoint.

bash
curl -H "x-api-key: $PHI_KEY" https://api.dynophi.com/v1/datasets/{dataset_id}/sequences/export

Parameters

NameTypeDescription
dataset_idpath, requiredstringformat: uuid
passes_allquery, optionalboolean or null
is_starredquery, optionalboolean or null
curation_statusquery, optionalstring or null
plddt_minquery, optionalnumber or null
ipae_maxquery, optionalnumber or null
rmsd_maxquery, optionalnumber or null

200 response (text/csv)

200 response fields and schemaShow
JSON schema
{
  "type": "string"
}

Returns 200 or 422.

GET /v1/projects/{project_id}/datasets

List datasets

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

Parameters

NameTypeDefaultDescription
project_idpath, requiredstringformat: uuid
pagequery, optionalinteger1minimum: 1
page_sizequery, optionalinteger50minimum: 1; maximum: 200
cursorquery, optionalstring or nullOpaque keyset cursor from a prior X-Next-Cursor header

200 response (application/json)

200 response fields and schemaShow
JSON schema
{
  "type": "array",
  "items": {
    "$ref": "#/$defs/DatasetResponse"
  },
  "$defs": {
    "DatasetResponse": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "name",
        "description",
        "created_by",
        "status",
        "sequence_count",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_by": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sequence_count": {
          "type": "integer"
        },
        "structure_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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

json
[
  {
    "id": "00000000-0000-4000-8000-000000000000",
    "project_id": "00000000-0000-4000-8000-000000000000",
    "name": "<value>",
    "description": "<value>",
    "created_by": "<value>",
    "status": "<value>",
    "sequence_count": 0,
    "structure_count": 0,
    "created_at": "2026-01-01T00:00:00Z",
    "updated_at": "2026-01-01T00:00:00Z"
  }
]

Returns 200 or 422.

POST /v1/projects/{project_id}/datasets

Create dataset

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

Parameters

NameTypeDescription
project_idpath, requiredstringformat: uuid

Body

NameType
namerequiredstring
descriptionoptionalstring or null
Complete request schemaShow

Fields

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

201 response (application/json)

201 response fields and schemaShow

Fields

NameTypeDescription
idrequiredstringformat: uuid
project_idrequiredstringformat: uuid
namerequiredstring
descriptionrequiredstring or null
created_byrequiredstring
statusrequiredstring
sequence_countrequiredinteger
structure_countoptionalinteger or null
created_atrequiredstringformat: date-time
updated_atrequiredstringformat: date-time
JSON schema
{
  "$ref": "#/$defs/DatasetResponse",
  "$defs": {
    "DatasetResponse": {
      "type": "object",
      "required": [
        "id",
        "project_id",
        "name",
        "description",
        "created_by",
        "status",
        "sequence_count",
        "created_at",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "project_id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_by": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sequence_count": {
          "type": "integer"
        },
        "structure_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}

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

json
{
  "id": "00000000-0000-4000-8000-000000000000",
  "project_id": "00000000-0000-4000-8000-000000000000",
  "name": "<value>",
  "description": "<value>",
  "created_by": "<value>",
  "status": "<value>",
  "sequence_count": 0,
  "structure_count": 0,
  "created_at": "2026-01-01T00:00:00Z",
  "updated_at": "2026-01-01T00:00:00Z"
}

Returns 201 or 422.

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