GET
/
v1
/
functions
/
{function_name}
/
definition
{
  "type": "function",
  "function": {
    "name": "<string>",
    "strict": true,
    "description": "<string>",
    "parameters": {}
  }
}

Authorizations

X-API-KEY
string
header
required

API key for authentication

Path Parameters

function_name
string
required

Query Parameters

inference_provider
enum<string>

The inference provider, which determines the format of the function definition.

Available options:
openai,
anthropic

Response

200
application/json
Successful Response
function
object
required
type
enum<string>
default:function
Available options:
function