Headers
Your API key for authentication.
Query Parameters
The unique identifier of the citation schema to update.
Body Parameters
The updated name for the citation schema.
The updated description for the citation schema.
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 extractiongroupings
: Array of related variable collectionsconditions
: Array of conditional logic rules
At least one field (name, description, or schema) must be provided in the request body.
Response
HTTP status code (200 for success).
The updated citation schema object.
The unique identifier for the citation schema (UUID format).
The updated name of the citation schema.
The updated description of the citation schema.
The organization ID that owns this schema.
The updated JSON schema configuration for citation extraction.
The timestamp when the citation schema was originally created (ISO 8601 format).
Will be null for successful requests.
Error Responses
400 Bad Request
Returned when:
- The schema ID parameter is missing
- No update fields are provided in the request body
404 Not Found
Returned when the specified citation schema is not found or doesn’t belong to your organization.