Skip to content
vVectorly

Vectorly

BlogContactDocs

Jump to

Create routine POST

/routines/

Create a new routine with the provided configuration. The routine will be validated before saving.

Request

URL

POST /routines/

Headers

X-Service-Token: YOUR_SERVICE_TOKEN
Content-Type: application/json

Request body

FieldTypeRequiredDescription
namestringYesName of the routine
descriptionstringYesDescription of the routine
operationsarrayYesList of operations to execute
parametersarrayNoList of parameters for the routine (default: [])
incognitobooleanNoWhether to use incognito mode (default: true)
is_publicbooleanNoWhether the routine is publicly viewable (default: false)
tagsarrayNoList of tags for the routine
is_mcp_tool_designatedbooleanNoWhether to register as MCP tool (default: true)

Request body example

JSONJSON

Response

Success response (201) example

JSONJSON

Auto-generated fields

The following fields are automatically generated by the server:

FieldDescription
idUnique routine ID in format Routine_<uuid>
created_atUnix timestamp when the routine was created
updated_atUnix timestamp when the routine was last updated
created_byUser ID from authentication
organization_idOrganization ID from authentication

Error responses

  • 400 Bad Request: Invalid routine configuration or validation failed
  • 401 Unauthorized: Missing or invalid authentication token

Code examples

v

Vectorly

Copyright © 2026 Vectorly

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

v

Vectorly

Copyright © 2026 Vectorly

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website