Skip to main content
POST
/
api
/
v1
/
llm
/
custom-prompt
Generate Custom Prompt
curl --request POST \
  --url https://api.cognee.ai/api/v1/llm/custom-prompt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "graphModel": {}
}
'
{
  "customPrompt": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
graphModel
Graphmodel · object
required

Graph model schema as JSON object.

parameters
Parameters · object

Additional kwargs forwarded to LLMGateway.

Response

Successful Response

customPrompt
string
required