Skip to main content
POST
/
v1
/
document-analyzer
/
sessions
Create analysis session
curl --request POST \
  --url http://co-mind-platform-host/v1/document-analyzer/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "documentId": "<string>",
  "name": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Body

application/json
documentId
string
name
string

Response

Session created

The response is of type object.