Skip to main content

Get live render schema

GET /api/render/schema/api-key

Free, account-aware resolved-project or render-request schema with validation notes and authoring guidance. Template input additionally supports variables, iterate and condition; use the authoring schema and validation endpoint for those fields.

Authentication​

x-api-key: YOUR_API_KEY (header). API key for authentication. Create one in your dashboard.

Create API keys at app.zvid.io/api-keys. Keep credentials on your server.

Parameters​

ParameterLocationTypeRequiredDescription and constraints
targetquery"project" / "render-request"NoDefault: "project".

Request​

The shell examples read credentials from ZVID_API_KEY (or ZVID_ACCESS_TOKEN for Bearer authentication). Set that variable in your environment. Replace sample project, template, job, and asset identifiers with values from your own account.

This operation does not take a request body.

Request example​

curl --request GET 'https://api.zvid.io/api/render/schema/api-key' \
--header "x-api-key: $ZVID_API_KEY"

Responses​

HTTP 200​

Successful response

Content type: application/json.

Required properties: schemaVersion, planLimits, target, jsonSchema.

FieldTypeRequiredDescription and constraints
response.schemaVersionstringYes
response.sourceOfTruthstringNo
response.planLimitsobjectYes
response.target"project" / "render-request"Yes
response.jsonSchemaobjectYes
response.validationNotesarray of stringNo
response.authoringGuidelinesarray of stringNo
response.authoringWorkflowarray of stringNo

Nested field: response.validationNotes

Array item: response.validationNotes[]

Type: string.

Nested field: response.authoringGuidelines

Array item: response.authoringGuidelines[]

Type: string.

Nested field: response.authoringWorkflow

Array item: response.authoringWorkflow[]

Type: string.

HTTP 400​

Invalid input or semantic validation error

Content type: application/json.

Required properties: error.

FieldTypeRequiredDescription and constraints
response.errorstringYes
response.messagestringNo
response.detailsarray of objectNo
response.planLimitsobjectNoPresent on render validation errors; contains the authenticated user's current render limits.

Nested field: response.details

Array item: response.details[]

Unknown properties are rejected. Required properties: field, message.

FieldTypeRequiredDescription and constraints
response.details[].fieldstringYes
response.details[].messagestringYes

HTTP 401​

Missing or invalid credentials

Content type: application/json.

Unknown properties are rejected. Required properties: error.

FieldTypeRequiredDescription and constraints
response.errorstringYesError type
response.messagestringNoHuman-readable error message

HTTP 404​

Not found for this account

Content type: application/json.

Required properties: error.

FieldTypeRequiredDescription and constraints
response.errorstringYesError type
response.messagestringNoHuman-readable error message

HTTP 500​

Server error

Content type: application/json.

Required properties: error.

FieldTypeRequiredDescription and constraints
response.errorstringYesError type
response.messagestringNoHuman-readable error message

Schema definitions​

The following definitions describe the fields referenced above. Expand a definition to inspect its complete contract.

AuthoringSchemaResponse

Required properties: schemaVersion, planLimits, target, jsonSchema.

FieldTypeRequiredDescription and constraints
AuthoringSchemaResponse.schemaVersionstringYes
AuthoringSchemaResponse.sourceOfTruthstringNo
AuthoringSchemaResponse.planLimitsobjectYes
AuthoringSchemaResponse.target"project" / "render-request"Yes
AuthoringSchemaResponse.jsonSchemaobjectYes
AuthoringSchemaResponse.validationNotesarray of stringNo
AuthoringSchemaResponse.authoringGuidelinesarray of stringNo
AuthoringSchemaResponse.authoringWorkflowarray of stringNo

Nested field: AuthoringSchemaResponse.validationNotes

Array item: AuthoringSchemaResponse.validationNotes[]

Type: string.

Nested field: AuthoringSchemaResponse.authoringGuidelines

Array item: AuthoringSchemaResponse.authoringGuidelines[]

Type: string.

Nested field: AuthoringSchemaResponse.authoringWorkflow

Array item: AuthoringSchemaResponse.authoringWorkflow[]

Type: string.

ValidationError

Required properties: error.

FieldTypeRequiredDescription and constraints
ValidationError.errorstringYes
ValidationError.messagestringNo
ValidationError.detailsarray of objectNo
ValidationError.planLimitsobjectNoPresent on render validation errors; contains the authenticated user's current render limits.

Nested field: ValidationError.details

Array item: ValidationError.details[]

Unknown properties are rejected. Required properties: field, message.

FieldTypeRequiredDescription and constraints
ValidationError.details[].fieldstringYes
ValidationError.details[].messagestringYes
AuthenticationError

Unknown properties are rejected. Required properties: error.

FieldTypeRequiredDescription and constraints
AuthenticationError.errorstringYesError type
AuthenticationError.messagestringNoHuman-readable error message
Error

Required properties: error.

FieldTypeRequiredDescription and constraints
Error.errorstringYesError type
Error.messagestringNoHuman-readable error message