GET
/
templates
curl --request GET \
  --url https://app.docs.bynesoft.com/api/ask/templates \
  --header 'X-API-Key: <api-key>'
{
  "templates": [
    {
      "name": "<string>",
      "id": "<string>",
      "template": "<string>",
      "type": "llm",
      "lastModified": "<string>",
      "dateCreated": "<string>"
    }
  ],
  "nextToken": "<string>"
}

Authorizations

X-API-Key
string
header
required

Query Parameters

take
integer
default:50

Quantity of retrieved templates (minimum - 1, maximum - 50)

Required range: 1 <= x <= 50
startingToken
string | null
type
enum<string> | null
Available options:
llm,
agent

Response

200
application/json
Successful Response
templates
object[]
required
nextToken
string | null
required