Skip to main content
GET
Get Function Definition

Authorizations

X-API-KEY
string
header
required

API key for authentication

Path Parameters

function_name
string
required

Query Parameters

inference_provider
enum<string>
default:openai

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

Available options:
openai,
anthropic

Response

Successful Response

function
OpenAIFunction · object
required
type
enum<string>
default:function
Available options:
function
Allowed value: "function"