Skip to main content
POST
/
api
/
v1
/
testing-lab
/
mock-tools
Create a Cekura mock tool
curl --request POST \
  --url https://prod.featherhq.com/api/v1/testing-lab/mock-tools \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "agentId": "<string>",
  "description": "<string>",
  "information": [
    {
      "input": {},
      "output": {}
    }
  ],
  "freetext_params": [
    "<string>"
  ]
}
'
{
  "name": "<string>",
  "id": 123,
  "description": "<string>",
  "information": [
    {
      "input": {},
      "output": {}
    }
  ],
  "freetext_params": [
    "<string>"
  ],
  "mock_url": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
name
string
required
Required string length: 1 - 255
Pattern: ^[A-Za-z0-9_-]+$
agentId
string
required
description
string
information
object[]
freetext_params
string[]

Response

Mock tool created

name
string
required
id
number
description
string | null
information
object[] | null
freetext_params
string[] | null
mock_url
string