curl --request POST \
--url https://api.getcargo.io/v1/expression/recipes/{uuid}/newVersion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "other",
"isPublic": true,
"placeholders": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>"
}
],
"expression": "<string>"
}
'{}Create a new version of a recipe
curl --request POST \
--url https://api.getcargo.io/v1/expression/recipes/{uuid}/newVersion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"category": "other",
"isPublic": true,
"placeholders": [
{
"slug": "<string>",
"name": "<string>",
"kind": "string",
"description": "<string>"
}
],
"expression": "<string>"
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Recipe identifier.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$Request body schema.
Recipe name.
Recipe description.
Recipe category.
other, classification, cleaning, marketing, sales, event, copywriting Whether the recipe is public.
Recipe placeholders.
Show child attributes
Recipe expression.
Successful response
The response is of type object.
Was this page helpful?