Documentation Index
Fetch the complete documentation index at: https://libretto.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Use the credentials API to store, update, list, read, and delete tenant-scoped credentials.All routes on this page require
x-api-key.
Using stored credentials in jobs
The credentials API stores encrypted credential JSON for your tenant. To use a stored credential in a hosted workflow, read it from the credentials API in your server-side caller, then pass the needed fields in theparams object when you
create the job. The workflow receives those fields as normal input parameters.
POST /v1/credentials/create
Store a new credential object.
Request fields:
name: credential namecredentials: JSON object to encrypt and store
successcredential_idmessage
POST /v1/credentials/list
List stored credentials.
Response fields:
credentials
credential_idnamecreated_atupdated_at
POST /v1/credentials/get
Read a stored credential by name.
Request fields:
name: credential name
idvalue
POST /v1/credentials/update
Update a credential by id.
Request fields:
id: credential idcredentials: optional partial object to merge into the stored JSONname: optional new name
successmessage
POST /v1/credentials/delete
Delete a credential by id.
Request fields:
id: credential id
successmessage
Webhooks
Configure tenant-level job result webhooks.
Jobs and Logs
Run workflows that may use stored credentials.
Schedules
Schedule recurring workflow runs.