curl --location 'https://us-prod.notte.cc/functions/dc579858-c285-4b2f-947b-edff37460b56/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "dc579858-c285-4b2f-947b-edff37460b56",
"variables": {
"operation_id": "createAttachment"
}
}'
{
"method": "<string>",
"location": {
"path": "<string>",
"type": "<string>"
},
"operation": {
"tags": [
"<string>"
],
"summary": "<string>",
"responses": {},
"parameters": [
{
"in": "<string>",
"$ref": "<string>",
"name": "<string>",
"schema": {
"type": "<string>"
},
"required": true,
"description": "<string>"
}
],
"description": "<string>",
"operationId": "<string>",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "<string>",
"oneOf": [
{
"type": "<string>",
"required": [
"<string>"
],
"properties": {
"size": "<any>",
"filename": "<any>",
"thread_id": "<any>",
"attachment": "<any>",
"content_type": "<any>",
"preview_size": "<any>"
}
}
],
"description": "<string>"
},
"examples": {
"default": {
"value": {
"size": 0,
"filename": "<string>",
"content_type": "<string>"
}
}
}
}
},
"required": true
},
"x-codeSamples": [
{
"lang": "<string>",
"label": "<string>",
"source": "<string>"
}
]
},
"server_url": "<string>",
"source_url": "<string>",
"operation_id": "<string>",
"authentication": {
"requirements": [
{
"bearerAuth": [
"<string>"
]
}
],
"security_schemes": {
"bearerAuth": {
"type": "<string>",
"scheme": "<string>",
"bearerFormat": "<string>"
}
}
},
"openapi_version": "<string>"
}