Skip to main content

Export delivery

Generated from apiome-rest/openapi.yaml (API version 1.719.0) — do not edit by hand. How to authenticate is on the REST API reference.

Tag: export-delivery · 18 operations

GET /v1/export/{tenant_slug}/delivery-profiles​

List the workspace's export delivery profiles

Every delivery profile, by name — never a secret. channel narrows to one channel. At most 1,000 a page: pass the previous page's nextCursor as cursor until hasMore is false. Requires projects:view.

Operation id: list_delivery_profiles_v1_export__tenant_slug__delivery_profiles_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
channelqueryenum "git", "webhook", "object_storage" or nullnoQuery parameter: channel.
limitqueryintegernoPage size. At most 1000.
cursorquerystring or nullnoOpaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list the workspace's export delivery profiles.application/json ExportDeliveryProfileListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/delivery-profiles​

Store an export delivery profile

Stores a reusable delivery destination: a name, a channel (git, webhook or object_storage) and that channel's delivery body in the matching block — git, webhook or objectStorage — validated by the channel's own rules. The credential is a reference: the git repository's linked account, or a storage credential in the vault. A webhook's secret is sealed on the profile and never returned. Requires projects:edit; audited as export.delivery_profile.created.

400 for an invalid field, an unknown repository or storage credential, or a refused receiver; 409 for a name already in use; 503 when a webhook secret cannot be sealed (APIOME_MCP_CREDENTIAL_ENCRYPTION_KEYS).

Operation id: create_delivery_profile_v1_export__tenant_slug__delivery_profiles_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for store an export delivery profile.

Responses

StatusDescriptionBody
201Successful response for store an export delivery profile.application/json ExportDeliveryProfileModel
400Invalid field, unknown reference or refused receiver.—
409A profile of that name exists.—
422Validation Errorapplication/json HTTPValidationError
503Credential encryption is not configured.—

GET /v1/export/{tenant_slug}/delivery-profiles/{profile_id}​

Read an export delivery profile

One delivery profile — never its secret. Requires projects:view. 404 when the workspace has no such profile.

Operation id: get_delivery_profile_v1_export__tenant_slug__delivery_profiles__profile_id__get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
profile_idpathstringyesPath parameter identifying the profile id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for read an export delivery profile.application/json ExportDeliveryProfileModel
404Unknown profile for this tenant.—
422Validation Errorapplication/json HTTPValidationError

PATCH /v1/export/{tenant_slug}/delivery-profiles/{profile_id}​

Change an export delivery profile

Changes a profile's name, description or destination. A destination block replaces the stored destination whole and must be the profile's own channel — the channel never changes. On a webhook profile, leave webhook.secret out to keep the stored secret. Past deliveries keep their record. Requires projects:edit; audited as export.delivery_profile.updated.

Operation id: update_delivery_profile_v1_export__tenant_slug__delivery_profiles__profile_id__patch

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
profile_idpathstringyesPath parameter identifying the profile id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for change an export delivery profile.

Responses

StatusDescriptionBody
200Successful response for change an export delivery profile.application/json ExportDeliveryProfileModel
400Invalid field, another channel's block, unknown reference or refused receiver.—
404Unknown profile for this tenant.—
409Another profile has that name.—
422Validation Errorapplication/json HTTPValidationError
503Credential encryption is not configured.—

DELETE /v1/export/{tenant_slug}/delivery-profiles/{profile_id}​

Delete an export delivery profile

Removes the profile (and a webhook profile's sealed secret); its deliveries keep their record, no longer naming it. Requires projects:edit; audited as export.delivery_profile.deleted. 404 when the workspace has no such profile.

Operation id: delete_delivery_profile_v1_export__tenant_slug__delivery_profiles__profile_id__delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
profile_idpathstringyesPath parameter identifying the profile id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
204Successful response for delete an export delivery profile.—
404Unknown profile for this tenant.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/delivery-profiles/{profile_id}/deliveries​

List a delivery profile's deliveries

Every delivery made with the profile, across export jobs, newest first (at most limit). Requires projects:view.

Operation id: list_delivery_profile_deliveries_v1_export__tenant_slug__delivery_profiles__profile_id__deliveries_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
profile_idpathstringyesPath parameter identifying the profile id segment.
limitqueryintegernoMaximum number of rows to return.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list a delivery profile's deliveries.application/json ExportDeliveryAttemptListResponse
404Unknown profile for this tenant.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/jobs/{job_id}/deliveries​

List every delivery of an export job

Every delivery of one export job across the git, webhook and object-storage channels, newest first, each with its profile (when it was made from one), outcome and attempt count. Requires projects:view.

Operation id: list_export_job_deliveries_v1_export__tenant_slug__jobs__job_id__deliveries_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
limitqueryintegernoMaximum number of rows to return.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list every delivery of an export job.application/json ExportDeliveryAttemptListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/jobs/{job_id}/deliveries​

Deliver a completed export with a delivery profile

Delivers a completed export job to the profile's destination through the channel's own delivery — exactly as POST …/deliveries/git, …/webhook or …/object-storage with the profile's body — and records the profile on the run. The answer summarises the attempt (outcome: in_progress, delivered or failed) and carries the channel's full run in run.

As with each channel, a delivery that reaches the destination and fails answers 200 with outcome: failed and the channel's errorCode. Requires versions:publish; audited by the channel (export.git_delivery, export.webhook_delivery, export.object_storage_delivery) with profileId.

Operation id: deliver_export_job_with_profile_v1_export__tenant_slug__jobs__job_id__deliveries_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for deliver a completed export with a delivery profile.

Responses

StatusDescriptionBody
200Successful response for deliver a completed export with a delivery profile.application/json ExportDeliveryAttemptModel
400The stored destination is no longer valid for its channel.—
404Unknown export job or profile for this tenant.—
409The job is not completed, is a dry run, or its bundle cannot be read.—
410The export's artifact has expired; export again, then deliver.—
422Validation Errorapplication/json HTTPValidationError
503A webhook profile's secret cannot be opened on this deployment.—

GET /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/git​

List a job's git deliveries

Every git delivery of one export job, newest first. Requires projects:view.

Operation id: list_export_job_git_deliveries_v1_export__tenant_slug__jobs__job_id__deliveries_git_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list a job's git deliveries.application/json ExportGitDeliveryRunListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/git​

Deliver a completed export to a git repository

Writes a completed export job's bundle into a repository registered in this workspace through a linked GitHub, GitLab, Bitbucket or Microsoft (Azure DevOps) account — on GitLab the pull request is a merge request — under targetPath (a multi-file bundle keeps its directory tree), with a delivery manifest at <targetPath>/.apiome/export-delivery.json.

mode: pr (default): a commit on apiome/export-<artifact>-<target> built on the latest base branch, and one pull request whose description carries the export's fidelity summary and a link to the full report. A re-export updates the same branch and pull request: opened, updated, unchanged (nothing written) or up_to_date (the base already holds it).

mode: commit: one commit straight onto the base branch, fast-forward only — committed, or failed when the branch moved or is protected.

Failures are runs. A missing or revoked credential, a token without write access or a refused push answers 200 with status: failed, a stable errorCode and an actionable log.

Requires versions:publish. Audited as export.git_delivery.

Operation id: deliver_export_job_to_git_v1_export__tenant_slug__jobs__job_id__deliveries_git_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for deliver a completed export to a git repository.

Responses

StatusDescriptionBody
200Successful response for deliver a completed export to a git repository.application/json ExportGitDeliveryRunModel
400Invalid repository, path or base branch.—
404Unknown export job for this tenant.—
409The job is not completed, is a dry run, or its bundle cannot be read.—
410The export's artifact has expired; export again, then deliver.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/object-storage​

List a job's object-storage deliveries

Every object-storage delivery of one export job, newest first. Requires projects:view.

Operation id: list_export_job_object_storage_deliveries_v1_export__tenant_slug__jobs__job_id__deliveries_object_storage_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list a job's object-storage deliveries.application/json ExportObjectStorageDeliveryRunListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/object-storage​

Deliver a completed export to an S3-compatible bucket

Uploads a completed export job's bundle to bucket with a stored credential (credentialId). Objects are written under <prefix>/<artifact>/<version>/<target>/ — partitioning picks and orders the partitions, [] writes straight under prefix — each at its bundle path, with its SHA-256 in x-amz-meta-sha256.

Manifest, last. A manifest listing every object's key, size and SHA-256, with the export's provenance and fidelity summary, is written after the objects at <keyPrefix>/manifests/<sha256>.json (content-addressed, immutable: the same export writes the same manifest) and at <keyPrefix>/manifest.json (the latest delivery to that prefix).

Failures are runs. A missing or unreadable credential, a refused endpoint, an unknown bucket, a rejected key or a failed upload answers 200 with status: failed, a stable errorCode and a redacted message; the objects written before it are listed. Credentials never appear in a response, a log line or the audit.

Requires versions:publish. Audited as export.object_storage_delivery.

Operation id: deliver_export_job_to_object_storage_v1_export__tenant_slug__jobs__job_id__deliveries_object_storage_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for deliver a completed export to an s3-compatible bucket.

Responses

StatusDescriptionBody
200Successful response for deliver a completed export to an s3-compatible bucket.application/json ExportObjectStorageDeliveryRunModel
400Invalid credential id, bucket, prefix or partitioning.—
404Unknown export job for this tenant.—
409The job is not completed, is a dry run, or its bundle cannot be read.—
410The export's artifact has expired; export again, then deliver.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/webhook​

List a job's webhook deliveries

Every webhook delivery of one export job, newest first, with every attempt. Requires projects:view.

Operation id: list_export_job_webhook_deliveries_v1_export__tenant_slug__jobs__job_id__deliveries_webhook_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list a job's webhook deliveries.application/json ExportWebhookDeliveryRunListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/webhook​

Deliver a completed export to a webhook

POSTs a completed export job's result to url as one JSON body (schemaVersion: export.webhook-delivery.v1, event: export.delivered): the export's coordinates, the file manifest, the fidelity summary and full report, and the bundle — inside the body (artifact.delivery: inline, UTF-8 text or base64 for a zip) when it fits under APIOME_EXPORT_WEBHOOK_INLINE_MAX_BYTES (1 MiB), otherwise as a signed, expiring fetch link (artifact.delivery: fetch) that needs no Apiome credentials. artifact: fetch always sends the link.

Signed. X-Apiome-Signature: sha256=<hex> is the HMAC-SHA256 of the exact body under secret. The secret is used once and never stored; retries re-send the same bytes and signature, with X-Apiome-Delivery (the run id, for de-duplication) and X-Apiome-Delivery-Attempt.

Retried. The first attempt is made before this answers. No answer, 408, 425, 429 or a 5xx is retried after 10 s, 60 s and 5 min (longer when Retry-After asks); a 3xx (redirects are not followed) or another 4xx fails the run at once.

Guarded. url must resolve to public addresses only — checked now and on every attempt.

Every outcome is a run on the job (GET this path). Requires versions:publish. Audited as export.webhook_delivery.

Operation id: deliver_export_job_to_webhook_v1_export__tenant_slug__jobs__job_id__deliveries_webhook_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for deliver a completed export to a webhook.

Responses

StatusDescriptionBody
200Successful response for deliver a completed export to a webhook.application/json ExportWebhookDeliveryRunModel
400Invalid URL or secret, or a destination the SSRF guard refuses.—
404Unknown export job for this tenant.—
409The job is not completed or is a dry run, or a fetch link is needed but the server's public address is not configured.—
410The export's artifact has expired; export again, then deliver.—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/jobs/{job_id}/deliveries/webhook/{delivery_id}/bundle​

Fetch a webhook delivery's bundle (signed link)

The fetch link a webhook delivery hands the receiver when the bundle is too large to inline (artifact.url in the body). The expires and signature query parameters are the credential: no Apiome sign-in is needed, and nothing else is accepted. Streams the same bytes as the job's download (with Digest / X-Content-SHA256). 403 for a bad signature, 410 once the link or the export's artifact has expired.

Operation id: fetch_export_webhook_bundle_v1_export__tenant_slug__jobs__job_id__deliveries_webhook__delivery_id__bundle_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
job_idpathstringyesAsynchronous job identifier.
delivery_idpathstringyesPath parameter identifying the delivery id segment.
expiresqueryintegeryesThe link's expiry, epoch seconds.
signaturequerystringyesThe link's signature.

Responses

StatusDescriptionBody
200Successful response for fetch a webhook delivery's bundle (signed link).—
422Validation Errorapplication/json HTTPValidationError

GET /v1/export/{tenant_slug}/storage-credentials​

List the workspace's bucket credentials

Every storage credential, by name — never a secret. At most 1,000 a page: pass the previous page's nextCursor as cursor until hasMore is false. Requires projects:view.

Operation id: list_storage_credentials_v1_export__tenant_slug__storage_credentials_get

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
limitqueryintegernoPage size. At most 1000.
cursorquerystring or nullnoOpaque cursor from the previous page (next_cursor, or the X-Next-Cursor header). Omit for the first page.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
200Successful response for list the workspace's bucket credentials.application/json StorageCredentialListResponse
422Validation Errorapplication/json HTTPValidationError

POST /v1/export/{tenant_slug}/storage-credentials​

Store an S3-compatible bucket credential

Stores an access key pair (and optional session token) for export object-storage delivery, sealed in the credential vault on arrival. The answer — and every later read — names the endpoint, region and the access key id's last four characters, never a secret. A custom endpointUrl must resolve to public addresses. Requires projects:edit. 409 for a name already in use; 503 when the deployment has no credential encryption key (APIOME_MCP_CREDENTIAL_ENCRYPTION_KEYS).

Operation id: create_storage_credential_v1_export__tenant_slug__storage_credentials_post

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Request body (required)

Request body for store an s3-compatible bucket credential.

Responses

StatusDescriptionBody
201Successful response for store an s3-compatible bucket credential.application/json StorageCredentialModel
400Invalid field, or a refused endpoint.—
409A credential of that name exists.—
422Validation Errorapplication/json HTTPValidationError
503Credential encryption is not configured.—

DELETE /v1/export/{tenant_slug}/storage-credentials/{credential_id}​

Delete a bucket credential

Removes the credential from the vault; past deliveries keep their record. Requires projects:edit. 404 when the workspace has no such credential. 409 storage-credential-in-use when the workspace's document storage uses it.

Operation id: delete_storage_credential_v1_export__tenant_slug__storage_credentials__credential_id__delete

Parameters

NameInTypeRequiredDescription
tenant_slugpathstringyesURL-safe tenant slug that scopes the request.
credential_idpathstringyesPath parameter identifying the credential id segment.
authorizationheaderstring or nullnoJWT bearer token for authenticated access (Authorization: Bearer <token>).
X-API-Keyheaderstring or nullnoTenant-scoped API key used as an alternative to JWT bearer authentication.

Responses

StatusDescriptionBody
204Successful response for delete a bucket credential.—
422Validation Errorapplication/json HTTPValidationError

Schemas used​

DeliveryProfileCreate​

A new delivery profile: POST /v1/export/{tenant}/delivery-profiles.

PropertyTypeRequiredDescription
namestringyesA name unique in the workspace (orders-to-data-lake), up to 120 characters.
descriptionstring or nullnoWhat the profile is for.
channelenum "git", "webhook", "object_storage"yesThe delivery channel.
gitGitDeliveryRequest or nullnoFor channel: git — the git delivery body.
webhookWebhookProfileDestination or nullnoFor channel: webhook — the webhook delivery body.
objectStorageObjectStorageDeliveryRequest or nullnoFor channel: object_storage — the object-storage delivery body.

DeliveryProfileUpdate​

A change to a profile: PATCH /v1/export/{tenant}/delivery-profiles/{id}. The channel is fixed.

PropertyTypeRequiredDescription
namestring or nullnoA new name.
descriptionstring or nullnoA new description; "" clears it.
gitGitDeliveryRequest or nullnoA new git destination (replaces it).
webhookWebhookProfileDestination or nullnoA new webhook destination (replaces it; leave secret out to keep it).
objectStorageObjectStorageDeliveryRequest or nullnoA new object-storage destination (replaces it).

ExportDeliveryAttemptListResponse​

Delivery attempts across every channel, newest first.

PropertyTypeRequiredDescription
deliveriesarray of ExportDeliveryAttemptModelnoDeliveries.

ExportDeliveryAttemptModel​

One delivery attempt, whatever its channel.

Attributes: channel: git, webhook or object_storage. run_id: The channel's run. status: The channel's own status (opened, retrying, delivered, …). outcome: in_progress, delivered or failed. profile_id: The profile it was made from (null for a direct delivery or a deleted profile). profile_name: That profile's name. destination: Where it went: owner/repo, the receiver URL without its query, or bucket/prefix. attempt_count: Send attempts so far (a webhook retries; the other channels make one). result: What it left at the destination — PR link, receiver status, object URLs (MFX-46.3). run: In the answer to a delivery only — the channel's full run, as its own endpoint returns it.

PropertyTypeRequiredDescription
channelstringyesChannel.
runIdstring or nullnoRun ID.
jobIdstringyesJob ID.
artifactIdstring or nullnoArtifact ID.
exportTargetstring or nullnoExport Target.
statusstringyesStatus.
outcomeenum "in_progress", "delivered", "failed"yesOutcome.
profileIdstring or nullnoProfile ID.
profileNamestring or nullnoProfile Name.
destinationstring or nullnoDestination.
attemptCountintegernoNumber of attempt.
errorCodestring or nullnoError Code.
errorMessagestring or nullnoError Message.
startedAtstring (date-time) or nullnoStarted At.
finishedAtstring (date-time) or nullnoFinished At.
createdBystring or nullnoCreated By.
resultExportDeliveryResult or nullnoWhat the delivery left at its destination (MFX-46.3): the pull request or commit, the webhook receiver's HTTP status, the objects written. Null until it has produced something.
runobject or nullnoRun.

ExportDeliveryProfileListResponse​

A workspace's delivery profiles, by name.

PropertyTypeRequiredDescription
profilesarray of ExportDeliveryProfileModelnoProfiles.
hasMorebooleannoHas More.
nextCursorstring or nullnoNext Cursor.

ExportDeliveryProfileModel​

A stored delivery profile, described without its secret.

Attributes: id: The profile. name: Its unique name in the workspace. description: What it is for. channel: git, webhook or object_storage. destination: The channel's delivery body, minus any secret (a webhook URL without its query). credential_ref: What it delivers with.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
namestringyesHuman-readable name.
descriptionstring or nullnoFree-text description.
channelstringyesChannel.
destinationobjectnoDestination.
credentialRefCredentialRefModelyesCredential Ref.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.
createdBystring or nullnoCreated By.
updatedBystring or nullnoUpdated By.

ExportGitDeliveryRunListResponse​

A job's deliveries, newest first.

PropertyTypeRequiredDescription
runsarray of ExportGitDeliveryRunModelnoRuns.

ExportGitDeliveryRunModel​

One export git delivery.

Attributes: run_id: The run record. status: in_progress, opened, updated, unchanged, up_to_date, committed or failed. mode: pr or commit. job_id: The export job delivered. repository_id: The registered repository. repository_full_name: owner/repo. base_branch: The base branch used. target_path: The directory the bundle was written under. branch_name: The delivery branch (the base branch in commit mode). base_sha: The base commit. commit_sha: The commit the branch points at. pull_request_number: The pull request opened or updated. pull_request_url: Its web page. changes: The changed-files overview. fidelity: The fidelity summary the pull request carried. log: The delivery event log, redacted of secrets. error_code: Set when the run failed. error_message: Set when the run failed.

PropertyTypeRequiredDescription
runIdstring or nullnoRun ID.
statusstringyesStatus.
modestringyesMode.
jobIdstringyesJob ID.
repositoryIdstring or nullnoRepository ID.
repositoryFullNamestring or nullnoRepository Full Name.
baseBranchstring or nullnoBase Branch.
targetPathstringnoTarget Path.
branchNamestring or nullnoBranch Name.
baseShastring or nullnoBase Sha.
commitShastring or nullnoCommit Sha.
pullRequestNumberinteger or nullnoPull Request Number.
pullRequestUrlstring or nullnoPull Request URL.
changesobjectnoChanges.
fidelityobjectnoFidelity.
logarray of objectnoLog.
errorCodestring or nullnoError Code.
errorMessagestring or nullnoError Message.

ExportObjectStorageDeliveryRunListResponse​

A job's object-storage deliveries, newest first.

PropertyTypeRequiredDescription
runsarray of ExportObjectStorageDeliveryRunModelnoRuns.

ExportObjectStorageDeliveryRunModel​

One export object-storage delivery.

Attributes: run_id: The run record (null only when it could not be stored). status: in_progress, delivered or failed. job_id: The export job delivered. credential_id: The storage credential used. endpoint_url: The endpoint (null for AWS S3). bucket: The bucket. key_prefix: The resolved prefix every object is under. partitioning: The partitions used, in order. objects: Every object written (on a failure, those written before it). manifest_key: The content-addressed manifest (<keyPrefix>/manifests/<sha256>.json). manifest_sha256: Its SHA-256. fidelity: The export's fidelity summary. error_code: Set when the run failed. error_message: Set when the run failed, redacted.

PropertyTypeRequiredDescription
runIdstring or nullnoRun ID.
statusstringyesStatus.
jobIdstringyesJob ID.
credentialIdstring or nullnoCredential ID.
endpointUrlstring or nullnoEndpoint URL.
bucketstringyesBucket.
keyPrefixstringnoKey Prefix.
partitioningarray of stringnoPartitioning.
objectsarray of ExportObjectStorageObjectModelnoObjects.
manifestKeystring or nullnoManifest Key.
manifestSha256string or nullnoManifest Sha256.
fidelityobjectnoFidelity.
errorCodestring or nullnoError Code.
errorMessagestring or nullnoError Message.
startedAtstring (date-time) or nullnoStarted At.
finishedAtstring (date-time) or nullnoFinished At.

ExportWebhookDeliveryRunListResponse​

A job's webhook deliveries, newest first.

PropertyTypeRequiredDescription
runsarray of ExportWebhookDeliveryRunModelnoRuns.

ExportWebhookDeliveryRunModel​

One export webhook delivery.

Attributes: run_id: The delivery — also its X-Apiome-Delivery header and the body's deliveryId. status: pending, delivering, retrying, delivered or failed. job_id: The export job delivered. target_url: The receiver, without its query string. artifact_delivery: inline or fetch. payload_sha256: SHA-256 of the signed body. attempt_count: Attempts made. max_attempts: Attempts before the run fails. attempts: Every attempt, oldest first. next_attempt_at: When the next retry is due (retrying). last_http_status: The receiver's last status code. fidelity: The fidelity summary the body carried. error_code: The last failure's code. error_message: The last failure's message. started_at: When the delivery was requested. finished_at: When it was delivered or failed.

PropertyTypeRequiredDescription
runIdstringyesRun ID.
statusstringyesStatus.
jobIdstringyesJob ID.
targetUrlstringyesTarget URL.
artifactDeliverystringyesArtifact Delivery.
payloadSha256string or nullnoPayload Sha256.
attemptCountintegernoNumber of attempt.
maxAttemptsintegeryesMax Attempts.
attemptsarray of ExportWebhookDeliveryAttemptModelnoAttempts.
nextAttemptAtstring (date-time) or nullnoNext Attempt At.
lastHttpStatusinteger or nullnoLast HTTP Status.
fidelityobjectnoFidelity.
errorCodestring or nullnoError Code.
errorMessagestring or nullnoError Message.
startedAtstring (date-time) or nullnoStarted At.
finishedAtstring (date-time) or nullnoFinished At.

GitDeliveryRequest​

Where to deliver an export: POST …/jobs/{job_id}/deliveries/git.

PropertyTypeRequiredDescription
repositoryIdstringyesA repository registered in this workspace through a linked GitHub, GitLab, Bitbucket or Microsoft (Azure DevOps) account (GET /v1/tenants/{tenant}/repositories). Its linked account is the credential.
targetPathstringnoDirectory inside the repository the bundle is written under (specs/orders). Empty means the repository root. A multi-file bundle keeps its own directory tree below it.
baseBranchstring or nullnoThe branch the pull request targets (mode pr) or the commit lands on (mode commit). Empty means the repository's default branch.
modeenum "pr", "commit"nopr (default): commit to a delivery branch and open — or update — one pull request. commit: commit straight onto the base branch, fast-forward only.

HTTPValidationError​

Validation error response emitted when request data fails schema checks.

PropertyTypeRequiredDescription
detailarray of ValidationErrornoDetail.

ObjectStorageDeliveryRequest​

Where to deliver an export: POST …/jobs/{job_id}/deliveries/object-storage.

PropertyTypeRequiredDescription
credentialIdstringyesA storage credential of this workspace (GET /v1/export/{tenant}/storage-credentials).
bucketstringyesThe bucket (S3 naming rules: 3–63 lowercase letters, digits, . and -).
prefixstringnoThe key prefix every object is written under (exports/apis). Empty means the bucket root.
partitioningarray of enum "artifact", "version", "target"noThe partitions below the prefix, in order. Default [artifact, version, target] → <prefix>/orders/1.4.0/openapi-3.1/…; [] writes straight under the prefix.

ProfileDeliveryRequest​

Deliver a job with a profile: POST …/jobs/{job_id}/deliveries.

PropertyTypeRequiredDescription
profileIdstringyesA delivery profile of this workspace (GET /v1/export/{tenant}/delivery-profiles).

StorageCredentialCreate​

A bucket credential for the vault: POST /v1/export/{tenant}/storage-credentials.

PropertyTypeRequiredDescription
namestringyesA name unique in the workspace (data-lake-prod).
accessKeyIdstring (password)yesThe access key id. Sealed; only its last four characters are ever shown.
secretAccessKeystring (password)yesThe secret access key. Sealed; never shown.
sessionTokenstring (password) or nullnoA session token, for temporary credentials.
endpointUrlstring or nullnoAn S3-compatible endpoint (https://minio.example.com, https://<account>.r2.cloudflarestorage.com). Empty means AWS S3. It must resolve to public addresses only.
regionstringnoThe bucket's region (auto for R2).
forcePathStylebooleannoAddress buckets as <endpoint>/<bucket>/… instead of <bucket>.<endpoint>/… — most self-hosted stores (MinIO, Ceph) need it.

StorageCredentialListResponse​

A workspace's storage credentials, by name.

PropertyTypeRequiredDescription
credentialsarray of StorageCredentialModelnoCredentials.
hasMorebooleannoHas More.
nextCursorstring or nullnoNext Cursor.

StorageCredentialModel​

A stored bucket credential, described without its secrets.

PropertyTypeRequiredDescription
idstringyesStable resource identifier.
namestringyesHuman-readable name.
providerstringnoProvider.
endpointUrlstring or nullnoThe S3-compatible endpoint; null for AWS S3.
regionstringyesRegion.
forcePathStylebooleannoForce Path Style.
accessKeyHintstringyesThe access key id's last four characters.
createdAtstring (date-time) or nullnoCreated At.
updatedAtstring (date-time) or nullnoUpdated At.

WebhookDeliveryRequest​

Where to deliver an export: POST …/jobs/{job_id}/deliveries/webhook.

PropertyTypeRequiredDescription
urlstringyesThe receiver: a public https (or http) URL. Addresses inside private, loopback or link-local networks are refused, on the first attempt and on every retry.
secretstringyesThe shared secret (16–512 characters) the body is signed with: X-Apiome-Signature: sha256=<HMAC-SHA256 of the body, hex>. Apiome signs the body once and never stores the secret.
artifactenum "auto", "fetch"noHow the bundle travels. auto (default): inside the body when it is small enough, otherwise as a signed, expiring fetch link. fetch: always as a fetch link.