Skip to main content
PATCH
Update Citation Schema

Headers

string
required
Your API key for authentication.

Query Parameters

string
required
The unique identifier of the citation schema to update.

Body Parameters

string
The updated name for the citation schema.
string
The updated description for the citation schema.
object
The updated JSON schema configuration for citation extraction. This completely replaces the existing schema configuration.The schema object can contain:
  • variables: Array of variable definitions for data extraction
  • groupings: Array of related variable collections
  • conditions: Array of conditional logic rules
Example structure:
At least one field (name, description, or schema) must be provided in the request body.

Response

integer
HTTP status code (200 for success).
object
The updated citation schema object.
string
The unique identifier for the citation schema (UUID format).
string
The updated name of the citation schema.
string
The updated description of the citation schema.
string
The organization ID that owns this schema.
object
The updated JSON schema configuration for citation extraction.
string
The timestamp when the citation schema was originally created (ISO 8601 format).
null
Will be null for successful requests.

Error Responses

Returned when:
  • The schema ID parameter is missing
  • No update fields are provided in the request body
Returned when the specified citation schema is not found or doesn’t belong to your organization.

Docs for agents: llms.txt