Datasets API
List, upload, and import datasets, and browse their tasks and files.
List private datasets
Returns every published private dataset version in the authenticated organization that the caller can read, grouped by dataset with versions newest first. Datasets with `private` visibility are listed only for their publisher. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl 'https://api.factory.ai/api/v0/datasets' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Array items
Minimum length: 1
Minimum items: 1
Array items
Allowed values
Minimum length: 1
Minimum length: 1
Minimum length: 1
Greater than: 0
Unix timestamp, in milliseconds, when the version was published.
Minimum: 0
Allowed values
Minimum length: 1
Default: "organization"
Allowed values
Default: []
Array items
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Import a dataset version from a Harbor source
Copies the tasks of a public Git repository, registry.json URL, Harbor Hub dataset, or Harbor registry dataset at a pinned revision, then validates and publishes them as one immutable dataset version. Requires a human API key or JWT; service accounts receive 403. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl -X POST 'https://api.factory.ai/api/v0/datasets/imports' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ ... }'Parameters
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Request body
Required
application/json
No additional properties
Minimum length: 1
Maximum length: 2048
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^(?!\.{1,2}$)[^@]+$
Allowed values
Responses
application/json
Allowed values
Minimum length: 1
Minimum length: 1
Minimum length: 1
Greater than: 0
Unix timestamp, in milliseconds, when the version was published.
Minimum: 0
Allowed values
Minimum length: 1
Default: "organization"
Allowed values
Default: []
Array items
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
409Response for status 409
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The platform edge refused a body over its own size limit before the route ran, and answered in JSON because the request accepts JSON, for example `{"error":{"code":"413","message":"Request Entity Too Large"}}`.
Must not include detail
text/plain
The platform edge refused a body over its own size limit before the route ran, for example `Request Entity Too Large` followed by an error code such as `FUNCTION_PAYLOAD_TOO_LARGE`.
string415Response for status 415
application/json
Request validation error
Framework validation issues, when available
Array items
object451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Reserve a private dataset bundle upload
Reserves one immutable Harbor dataset version and returns a checksum- and size-bound S3 upload URL for its Git bundle. To publish, create a Git bundle whose `refs/heads/main` is `git_commit_id` (`git bundle create <file> refs/heads/main`), reserve it here with the bundle digest and size, PUT the bundle to `upload_url` before `expires_at`, then call finalizeDatasetUpload. A dataset keeps the visibility of its first version: `private` datasets are visible only to their publisher, and `organization` datasets are visible to every organization member. Requires a human API key or JWT; service accounts receive 403. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl -X POST 'https://api.factory.ai/api/v0/datasets/uploads' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN" \
-H 'Content-Type: application/json' \
-d '{ ... }'Parameters
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Request body
Required
application/json
No additional properties
Allowed values
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^(?!\.{1,2}$)[^@]+$
Maximum length: 4096
The commit the Git bundle's `refs/heads/main` points to. Every task is read from this commit.
Pattern: ^[0-9a-f]{40}$
`sha256:` followed by the lowercase hex SHA-256 of the Git bundle file.
Pattern: ^sha256:[0-9a-f]{64}$
Size of the Git bundle file in bytes.
Greater than: 0
Maximum: 2147483648
The tasks to publish, in order. `path` is the task directory relative to the repository root, and `name` must equal its last segment. Each path segment matches the task name pattern, so a path cannot be absolute, traverse, or enter `.git`. Names and paths must each be unique across the array.
Minimum items: 1
Array items
No additional properties
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Maximum length: 2048
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*(?:\/[A-Za-z0-9][A-Za-z0-9._-]*)*$
No additional properties
Maximum length: 512
Maximum length: 128
Maximum length: 128
Maximum items: 64
Array items
Maximum length: 128
stringMaximum length: 2048
No additional properties
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Ignored; omit it. Older Factory CLIs send an archive they built, but finalizing builds the task archive from the Git bundle itself.
No additional properties
Pattern: ^sha256:[0-9a-f]{64}$
Array items
Greater than: 0
integerDefault: []
Array items
No additional properties
Default: "mean"
Allowed values
Default: {}
Values
objectAllowed values
Responses
application/json
PUT the Git bundle file here, sending every `upload_headers` header.
Headers the signed upload requires. An upload that `if-none-match: *` rejects with 412 was already stored.
Minimum length: 1
Minimum length: 1
Minimum length: 1
Allowed values
When `upload_url` stops accepting uploads, in seconds since the Unix epoch.
Minimum: 0
Returned only when the request sends `task_archive`. Nothing reads this upload, so it can be skipped.
The headers for `task_archive_upload_url`, returned with it.
Minimum length: 1
Minimum length: 1
Minimum length: 1
Allowed values
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
409Response for status 409
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The platform edge refused a body over its own size limit before the route ran, and answered in JSON because the request accepts JSON, for example `{"error":{"code":"413","message":"Request Entity Too Large"}}`.
Must not include detail
text/plain
The platform edge refused a body over its own size limit before the route ran, for example `Request Entity Too Large` followed by an error code such as `FUNCTION_PAYLOAD_TOO_LARGE`.
string415Response for status 415
application/json
Request validation error
Framework validation issues, when available
Array items
object451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Finalize a private dataset bundle upload
Publishes a reservation from createDatasetUpload after its Git bundle is uploaded. Validates every bundled task with the pinned Harbor runtime and builds the task archive that file previews read, then publishes with the reserved visibility. Does not build environments or execute tasks. Requires a human API key or JWT; service accounts receive 403. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl -X POST 'https://api.factory.ai/api/v0/datasets/uploads/{uploadId}/finalize' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Allowed values
Minimum length: 1
Minimum length: 1
Minimum length: 1
Greater than: 0
Unix timestamp, in milliseconds, when the version was published.
Minimum: 0
Allowed values
Minimum length: 1
Default: "organization"
Allowed values
Default: []
Array items
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
409Response for status 409
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
413Response for status 413
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Get a private dataset version
Returns one exact Harbor registry snapshot from the authenticated organization; the etag is the snapshot digest. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl 'https://api.factory.ai/api/v0/datasets/{name}/{version}' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^[^@]+$
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Allowed values
Minimum length: 1
Minimum length: 1
Minimum length: 1
Greater than: 0
Unix timestamp, in milliseconds, when the version was published.
Minimum: 0
Allowed values
Minimum length: 1
Default: "organization"
Allowed values
Default: []
Array items
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum length: 1
Minimum length: 1
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Download the source of a private dataset version
Returns a short-lived URL for the Git bundle a private dataset version was published from, with its commit and digest. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl 'https://api.factory.ai/api/v0/datasets/{name}/{version}/source' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^[^@]+$
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Minimum length: 1
Minimum length: 1
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
List the tasks of a private dataset version
Returns task identities and optional publisher metadata (title, category, difficulty, tags, source URL, and resource limits) from one private dataset version. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl 'https://api.factory.ai/api/v0/datasets/{name}/{version}/tasks' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^[^@]+$
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Allowed values
Minimum length: 1
Minimum length: 1
Minimum length: 1
Greater than: 0
Unix timestamp, in milliseconds, when the version was published.
Minimum: 0
Allowed values
Minimum length: 1
Default: "organization"
Allowed values
Default: []
Array items
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum items: 1
Array items
Minimum length: 1
Minimum length: 1
Array items
stringMinimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
Minimum: 0
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Browse files in a private dataset task
Returns a preview of the files in one task of a dataset version, sorted by path. A UTF-8 text file of at most 64 KiB carries its text in `content`; every other file carries a `reason` instead: `binary`, `symlink`, or `too-large` (over 64 KiB, or over what remains of the response budget). The response is capped at 256 KiB of JSON and 1,000 files; when a cap drops files, `truncated` is true, and this operation offers no way to fetch the rest. getDatasetSource returns the complete Git bundle. Available only to enterprise organizations that Factory has enabled for evaluations, and only to callers the organization admits: every caller when an administrator has enabled evaluations, otherwise only human users on the evaluations email allowlist. Other callers receive 403.
curl 'https://api.factory.ai/api/v0/datasets/{name}/{version}/tasks/{taskName}/files' \
-H "Authorization: Bearer $FACTORY_BEARER_TOKEN"Parameters
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Minimum length: 1
Maximum length: 128
Pattern: ^[^@]+$
Minimum length: 1
Maximum length: 128
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]*$
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Responses
application/json
Array items
Minimum length: 1
Minimum: 0
Text of the file, at most 64 KiB of UTF-8. Present exactly when reason is absent.
Why the file has no content. Present exactly when content is absent.
Allowed values
True when files were left out of the preview.
400Response for status 400
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
Request validation error
Framework validation issues, when available
Array items
object401Response for status 401
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
402Response for status 402
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
403Response for status 403
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
404Response for status 404
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
451Response for status 451
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
500Response for status 500
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
503Response for status 503
application/json
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users
The same error fields, for clients that only read body.error
Human-readable error message
HTTP status code
HTTP status title
Additional error metadata
Values
objectRequest identifier to include when contacting support
Stable machine-readable error code, when one applies
True when detail is curated copy that is safe to show users