CitationSchema
Fields
8 fields
canonical_url- string or null
case_index· required- integer
chunk_text_preview- string or null
relevance_score- number or null
section_heading- string or null
source_id· required- string (uuid)
source_title· required- string
vector_id· required- string
Raw schema (JSON)
{
"properties": {
"canonical_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Canonical Url"
},
"case_index": {
"title": "Case Index",
"type": "integer"
},
"chunk_text_preview": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Chunk Text Preview"
},
"relevance_score": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Relevance Score"
},
"section_heading": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Section Heading"
},
"source_id": {
"format": "uuid",
"title": "Source Id",
"type": "string"
},
"source_title": {
"title": "Source Title",
"type": "string"
},
"vector_id": {
"title": "Vector Id",
"type": "string"
}
},
"required": [
"case_index",
"vector_id",
"source_id",
"source_title"
],
"title": "CitationSchema",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
POST/api/v1/test-management/cases/rag-generate— Rag Generate
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON