Skip to main content
POST
/
shell-docs
/
index
Index Docs
curl --request POST \
  --url https://apigcp.trynia.ai/v2/shell-docs/index \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "force_refresh": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
url
string
required

Documentation URL to index

force_refresh
boolean
default:false

Response

Successful Response