Skip to main content
POST
/
api
/
v1
/
llm
/
infer-schema
Infer Schema
curl --request POST \
  --url https://api.cognee.ai/api/v1/llm/infer-schema \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'data=<string>' \
  --form 'text=<string>' \
  --form 'parameters={}' \
  --form data.items='@example-file'
{
  "graphSchema": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
data
file[]
text
string
parameters
string
default:{}

JSON string of additional kwargs forwarded to LLMGateway.

Response

Successful Response

graphSchema
Graphschema · object
required