Skip to main content
POST
/
api
/
v1
/
brief
/
generate
Generate Brief
curl --request POST \
  --url https://api.example.com/api/v1/brief/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "<string>",
  "task_type": "<string>",
  "prompt": "<string>",
  "conversation_history": [
    {
      "role": "<string>",
      "content": "<string>"
    }
  ],
  "file_descriptions": [
    "<string>"
  ],
  "num_versions": 2
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt

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

Body

application/json
category
string
required
task_type
string
required
prompt
string
required
Required string length: 5 - 10000
conversation_history
ConversationMessage · object[] | null
file_descriptions
string[] | null
num_versions
integer
default:2
Required range: 1 <= x <= 5

Response

Successful Response