Skip to main content

Configuration and files

Environments and their secrets, task schedules, and the input and output files of executions (through presigned URLs — no tool carries bytes).

Families on this page​

FamilyToolsreadwritedestructive
environments — Environments5221
secrets — Secrets5221
schedules — Schedules5221
files — Files5320

environments​

ToolKindScopePermissionEndpointWhat it does
kadu_environments_listreadkadu/environments + readagent.environments.listGET /v1/environmentsLists the environments a task can run in (each one maps to a branch of the repository and its secrets).
kadu_environments_getreadkadu/environments + readagent.environments.readGET /v1/environments/{id}Gets an environment.
kadu_environments_createwritekadu/environments + writeagent.environments.createPOST /v1/environmentsCreates an environment.
kadu_environments_updatewritekadu/environments + writeagent.environments.updatePATCH /v1/environments/{id}Updates an environment.
kadu_environments_deletedestructivekadu/environments + deleteagent.environments.deleteDELETE /v1/environments/{id}Deletes an environment.

secrets​

ToolKindScopePermissionEndpointWhat it does
kadu_secrets_listreadkadu/secrets + readagent.secrets.listGET /v1/secretsLists the secrets of the environments.
kadu_secrets_getreadkadu/secrets + readagent.secrets.readGET /v1/secrets/{id}Gets a secret (without its value).
kadu_secrets_createwritekadu/secrets + writeagent.secrets.createPOST /v1/secretsCreates a secret the agent receives as an environment variable.
kadu_secrets_updatewritekadu/secrets + writeagent.secrets.updatePATCH /v1/secrets/{id}Updates a secret.
kadu_secrets_deletedestructivekadu/secrets + deleteagent.secrets.deleteDELETE /v1/secrets/{id}Deletes a secret.

schedules​

ToolKindScopePermissionEndpointWhat it does
kadu_schedules_listreadkadu/schedules + readagent.schedules.listGET /v1/schedulesLists the schedules that run tasks on a cron.
kadu_schedules_getreadkadu/schedules + readagent.schedules.readGET /v1/schedules/{id}Gets a schedule.
kadu_schedules_createwritekadu/schedules + writeagent.schedules.createPOST /v1/schedulesSchedules a task to run on a cron in an environment.
kadu_schedules_updatewritekadu/schedules + writeagent.schedules.updatePATCH /v1/schedules/{id}Changes, pauses or resumes a schedule.
kadu_schedules_deletedestructivekadu/schedules + deleteagent.schedules.deleteDELETE /v1/schedules/{id}Cancels a schedule.

files​

ToolKindScopePermissionEndpointWhat it does
kadu_files_listreadkadu/files + readagent.files.listGET /v1/filesLists the input and output files of tasks and executions.
kadu_files_getreadkadu/files + readagent.files.readGET /v1/files/{id}Gets a file record.
kadu_files_createwritekadu/files + writeagent.files.createPOST /v1/filesStarts the upload of an input file for a task: answers with a presigned upload URL.
kadu_files_confirmwritekadu/files + writeagent.files.createPOST /v1/files/{id}/confirmConfirms an upload started by kadu_files_create (pending → uploaded).
kadu_files_downloadreadkadu/files + readagent.files.readGET /v1/files/{id}/downloadGets a short-lived presigned URL to download a file.

The fields of each resource are in the API reference.

A tool you cannot run is not listed by tools/list at all. If one from this page is missing, see Authentication.