{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Bonya","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"navbar":{"links":[{"href":"mailto:support@bonya.ai","label":"Support"}],"primary":{"type":"button","label":"Console","href":"https://console.bonya.ai"}},"footer":{"socials":{"github":"https://github.com/bonyai/bonya-docs"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bonya","hasAudioNarration":false,"actualSubdomain":"bonya","customDomains":["docs.bonya.ai"],"gitSource":{"type":"github","owner":"bonyai","repo":"bonya-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af24c872ee9aa9e77b571ab"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af24e2fd16a64d64ef02d14","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"API Reference","count":85},{"language":"default","tag":"Documentation","count":25},{"language":"default","tag":"CLI Reference","count":12},{"language":"default","tag":"Sandboxes","count":11},{"language":"default","tag":"Core concepts","count":10},{"language":"default","tag":"Organizations","count":10},{"language":"default","tag":"Secrets","count":9},{"language":"default","tag":"Previews","count":8},{"language":"default","tag":"Filesystem","count":7},{"language":"default","tag":"Job Schedules","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/job-schedules/create-a-job-schedule","slug":"/api-reference/job-schedules/create-a-job-schedule","pageMetadata":{"title":"Create a job schedule","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job-schedule","href":"/api-reference/job-schedules/create-a-job-schedule","autogeneratedByOpenApi":true},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a job schedule","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job-schedule","href":"/api-reference/job-schedules/create-a-job-schedule","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createJobSchedule","tags":["Job Schedules"],"summary":"Create a job schedule","parameters":["50850c2d-fbe5-4616-99f4-9d6f3d8c65f6"],"requestBody":"5986f3eb-81d1-4dd4-ae4b-cbbcbe49486d","responses":{"201":"71413879-a218-4fe5-9a89-0c8e25d6225b","default":"a608a50b-db45-4386-bbe4-dc3859052937"},"method":"post","type":"path","servers":["35dd5221-cc61-4405-b8ac-a811ab25010b"],"security":["a50b259c-f292-4395-add4-3e6c64e8404c","7a2c0258-a115-43e7-adbf-f6b215c68325"],"path":"/v1/job-schedule","baseUrlOptions":["https://api.bonya.ai"],"title":"Create a job schedule","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"50850c2d-fbe5-4616-99f4-9d6f3d8c65f6":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":255,"isRequired":false,"description":"Absent means server-generated, which provides no deduplication; only client-supplied keys dedupe.\n","uniqueKey":"","typeLabel":"string"},"description":"Absent means server-generated, which provides no deduplication; only client-supplied keys dedupe.\n"},"7970a2bb-6f84-4e48-933d-4aaf07282c6d":{"name":"X-Bonya-Organization-ID","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Org context. Omitted means the caller's personal organization. A well-formed non-member org is 404; malformed is 400.\n","uniqueKey":"","typeLabel":"string"},"description":"Org context. Omitted means the caller's personal organization. A well-formed non-member org is 404; malformed is 400.\n"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["job"],"description":"Exactly one of cron_expressions, interval_s, and run_at_unix_nanos is required.","properties":{"job":{"type":"object","description":"Exactly one of existing_sandbox_id and new_sandbox is required. Exactly one of command and script is required.","properties":{"name":{"type":"string","description":"Optional human-readable name for this job.","uniqueKey":"job.name","typeLabel":"string"},"existing_sandbox_id":{"type":"string","uniqueKey":"job.existing_sandbox_id","typeLabel":"string"},"new_sandbox":{"type":"object","properties":{"template_id":{"type":"string","description":"Omit to use the deployment's configured default template.","uniqueKey":"job.new_sandbox.template_id","typeLabel":"string"},"template_revision":{"type":"integer","uniqueKey":"job.new_sandbox.template_revision","typeLabel":"integer"},"snapshot":{"type":"string","uniqueKey":"job.new_sandbox.snapshot","typeLabel":"string"},"image":{"type":"string","uniqueKey":"job.new_sandbox.image","typeLabel":"string"},"name":{"type":"string","uniqueKey":"job.new_sandbox.name","typeLabel":"string"},"network":{"type":"object","required":["mode"],"conditionallyRequiredProperties":{"allow":[{"when":[[{"property":"mode","values":["allowlist"],"matchesAbsent":true}]]}]},"properties":{"mode":{"type":"string","enum":["open","allowlist","airgap"],"default":"open","description":"open is unrestricted egress; allowlist allows only the listed destinations; airgap has no network.","isRequired":true,"uniqueKey":"job.new_sandbox.network.mode","typeLabel":"enum\u003cstring>"},"allow":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"description":"Exactly one of domain or cidr. Per-rule ports are not supported yet.","properties":{"domain":{"type":"string","description":"A DNS name such as pypi.org or *.pythonhosted.org.","uniqueKey":"job.new_sandbox.network.allow.items.[INDEX].domain","typeLabel":"string"},"cidr":{"type":"string","uniqueKey":"job.new_sandbox.network.allow.items.[INDEX].cidr","typeLabel":"string"}},"uniqueKey":"job.new_sandbox.network.allow.items.[INDEX]","typeLabel":"object"},"conditionalRequirements":[{"when":[[{"property":"mode","values":["allowlist"],"matchesAbsent":true}]]}],"uniqueKey":"job.new_sandbox.network.allow","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"job.new_sandbox.network","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"job.new_sandbox.env.additionalProperties","typeLabel":"string"},"uniqueKey":"job.new_sandbox.env","typeLabel":"object"},"secret_sets":{"type":"array","items":{"type":"string","uniqueKey":"job.new_sandbox.secret_sets.items.[INDEX]","typeLabel":"string"},"uniqueKey":"job.new_sandbox.secret_sets","typeLabel":"string[]"}},"uniqueKey":"job.new_sandbox","typeLabel":"object"},"command":{"type":"array","items":{"type":"string","uniqueKey":"job.command.items.[INDEX]","typeLabel":"string"},"uniqueKey":"job.command","typeLabel":"string[]"},"script":{"type":"object","required":["body"],"description":"A script the user wrote or uploaded. The body travels inline and is capped; a script larger than the cap is a program, and a program belongs in the template or fetched by the script itself.","properties":{"body":{"type":"string","description":"The script source text.","isRequired":true,"uniqueKey":"job.script.body","typeLabel":"string"},"interpreter":{"type":"string","default":"sh","uniqueKey":"job.script.interpreter","typeLabel":"string"},"args":{"type":"array","items":{"type":"string","uniqueKey":"job.script.args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"job.script.args","typeLabel":"string[]"},"filename":{"type":"string","uniqueKey":"job.script.filename","typeLabel":"string"}},"uniqueKey":"job.script","typeLabel":"object"},"pre_run_script":{"type":"object","description":"Optional script executed after the sandbox is ready and before the job command or script. A non-zero exit stops the job.","required":["body"],"properties":{"body":{"type":"string","description":"The script source text.","isRequired":true,"uniqueKey":"job.pre_run_script.body","typeLabel":"string"},"interpreter":{"type":"string","default":"sh","uniqueKey":"job.pre_run_script.interpreter","typeLabel":"string"},"args":{"type":"array","items":{"type":"string","uniqueKey":"job.pre_run_script.args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"job.pre_run_script.args","typeLabel":"string[]"},"filename":{"type":"string","uniqueKey":"job.pre_run_script.filename","typeLabel":"string"}},"uniqueKey":"job.pre_run_script","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"job.env.additionalProperties","typeLabel":"string"},"uniqueKey":"job.env","typeLabel":"object"},"secret_sets":{"type":"array","items":{"type":"string","uniqueKey":"job.secret_sets.items.[INDEX]","typeLabel":"string"},"description":"Secret set names (see /v1/secret-sets).","uniqueKey":"job.secret_sets","typeLabel":"string[]"},"working_dir":{"type":"string","uniqueKey":"job.working_dir","typeLabel":"string"},"stdin_b64":{"type":"string","contentEncoding":"base64","uniqueKey":"job.stdin_b64","typeLabel":"string"},"command_timeout_seconds":{"type":"integer","minimum":1,"uniqueKey":"job.command_timeout_seconds","typeLabel":"integer"},"run_deadline_seconds":{"type":"integer","minimum":1,"uniqueKey":"job.run_deadline_seconds","typeLabel":"integer"},"disposition":{"type":"string","enum":["delete","keep"],"default":"delete","description":"What happens to a sandbox this run created when the run ends, however it ends. Not meaningful for an existing sandbox.","uniqueKey":"job.disposition","typeLabel":"enum\u003cstring>"},"wake_if_paused":{"type":"boolean","default":false,"description":"Applies to an existing sandbox only. False makes a paused target a failure rather than an implicit wake, which is a billable action the caller may not have intended.","uniqueKey":"job.wake_if_paused","typeLabel":"boolean"},"wait":{"type":"boolean","default":false,"description":"false starts durably and returns immediately (202); true blocks for the result, bounded by the caller's own request timeout (200).","uniqueKey":"job.wait","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"job","typeLabel":"object"},"cron_expressions":{"type":"array","items":{"type":"string","uniqueKey":"cron_expressions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"cron_expressions","typeLabel":"string[]"},"interval_s":{"type":"integer","minimum":1,"uniqueKey":"interval_s","typeLabel":"integer"},"run_at_unix_nanos":{"type":"integer","description":"One-shot: a single future calendar time. Refused if in the past.","uniqueKey":"run_at_unix_nanos","typeLabel":"integer"},"time_zone":{"type":"string","description":"IANA zone, e.g. US/Pacific. Empty is UTC.","uniqueKey":"time_zone","typeLabel":"string"},"jitter_s":{"type":"integer","minimum":0,"uniqueKey":"jitter_s","typeLabel":"integer"},"overlap":{"type":"string","enum":["skip","buffer_one","allow_all"],"default":"skip","description":"What a fire does when the previous run is still going. skip (the default) drops the new fire.","uniqueKey":"overlap","typeLabel":"enum\u003cstring>"},"paused":{"type":"boolean","default":false,"uniqueKey":"paused","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"job":{"name":"\u003cstring>","existing_sandbox_id":"\u003cstring>","new_sandbox":{"template_id":"\u003cstring>","template_revision":123,"snapshot":"\u003cstring>","image":"\u003cstring>","name":"\u003cstring>","env":{},"secret_sets":["\u003cstring>"]},"command":["\u003cstring>"],"env":{},"secret_sets":["\u003cstring>"],"working_dir":"\u003cstring>","stdin_b64":"\u003cstring>","command_timeout_seconds":2,"run_deadline_seconds":2,"disposition":"delete","wake_if_paused":false,"wait":false},"cron_expressions":["\u003cstring>"],"interval_s":2,"run_at_unix_nanos":123,"time_zone":"\u003cstring>","jitter_s":1,"overlap":"skip","paused":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"71413879-a218-4fe5-9a89-0c8e25d6225b":{"description":"Schedule created","content":{"application/json":{"schema":{"type":"object","required":["schedule"],"properties":{"schedule":{"type":"object","required":["schedule_id","paused","one_shot","available_actions"],"properties":{"schedule_id":{"type":"string","isRequired":true,"uniqueKey":"schedule.schedule_id","typeLabel":"string"},"paused":{"type":"boolean","isRequired":true,"uniqueKey":"schedule.paused","typeLabel":"boolean"},"one_shot":{"type":"boolean","description":"True when this schedule fires exactly once (run_at_unix_nanos).","isRequired":true,"uniqueKey":"schedule.one_shot","typeLabel":"boolean"},"available_actions":{"type":"array","items":{"type":"string","enum":["pause","resume","trigger","update","delete"],"uniqueKey":"schedule.available_actions.items.[INDEX]","typeLabel":"enum\u003cstring>"},"isRequired":true,"uniqueKey":"schedule.available_actions","typeLabel":"enum\u003cstring>[]"},"schedule":{"type":"object","properties":{"cron_expressions":{"type":"array","items":{"type":"string","uniqueKey":"schedule.schedule.cron_expressions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"schedule.schedule.cron_expressions","typeLabel":"string[]"},"interval_s":{"type":"integer","uniqueKey":"schedule.schedule.interval_s","typeLabel":"integer"},"run_at_unix_nanos":{"type":"integer","uniqueKey":"schedule.schedule.run_at_unix_nanos","typeLabel":"integer"},"time_zone":{"type":"string","uniqueKey":"schedule.schedule.time_zone","typeLabel":"string"},"jitter_s":{"type":"integer","uniqueKey":"schedule.schedule.jitter_s","typeLabel":"integer"},"overlap":{"type":"string","enum":["skip","buffer_one","allow_all"],"uniqueKey":"schedule.schedule.overlap","typeLabel":"enum\u003cstring>"}},"uniqueKey":"schedule.schedule","typeLabel":"object"},"job":{"type":"object","description":"Exactly one of existing_sandbox_id and new_sandbox is required. Exactly one of command and script is required.","properties":{"name":{"type":"string","description":"Optional human-readable name for this job.","uniqueKey":"schedule.job.name","typeLabel":"string"},"existing_sandbox_id":{"type":"string","uniqueKey":"schedule.job.existing_sandbox_id","typeLabel":"string"},"new_sandbox":{"type":"object","properties":{"template_id":{"type":"string","description":"Omit to use the deployment's configured default template.","uniqueKey":"schedule.job.new_sandbox.template_id","typeLabel":"string"},"template_revision":{"type":"integer","uniqueKey":"schedule.job.new_sandbox.template_revision","typeLabel":"integer"},"snapshot":{"type":"string","uniqueKey":"schedule.job.new_sandbox.snapshot","typeLabel":"string"},"image":{"type":"string","uniqueKey":"schedule.job.new_sandbox.image","typeLabel":"string"},"name":{"type":"string","uniqueKey":"schedule.job.new_sandbox.name","typeLabel":"string"},"network":{"type":"object","required":["mode"],"conditionallyRequiredProperties":{"allow":[{"when":[[{"property":"mode","values":["allowlist"],"matchesAbsent":true}]]}]},"properties":{"mode":{"type":"string","enum":["open","allowlist","airgap"],"default":"open","description":"open is unrestricted egress; allowlist allows only the listed destinations; airgap has no network.","isRequired":true,"uniqueKey":"schedule.job.new_sandbox.network.mode","typeLabel":"enum\u003cstring>"},"allow":{"type":"array","maxItems":64,"items":{"type":"object","additionalProperties":false,"description":"Exactly one of domain or cidr. Per-rule ports are not supported yet.","properties":{"domain":{"type":"string","description":"A DNS name such as pypi.org or *.pythonhosted.org.","uniqueKey":"schedule.job.new_sandbox.network.allow.items.[INDEX].domain","typeLabel":"string"},"cidr":{"type":"string","uniqueKey":"schedule.job.new_sandbox.network.allow.items.[INDEX].cidr","typeLabel":"string"}},"uniqueKey":"schedule.job.new_sandbox.network.allow.items.[INDEX]","typeLabel":"object"},"conditionalRequirements":[{"when":[[{"property":"mode","values":["allowlist"],"matchesAbsent":true}]]}],"uniqueKey":"schedule.job.new_sandbox.network.allow","typeLabel":"object[]"}},"additionalProperties":false,"uniqueKey":"schedule.job.new_sandbox.network","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"schedule.job.new_sandbox.env.additionalProperties","typeLabel":"string"},"uniqueKey":"schedule.job.new_sandbox.env","typeLabel":"object"},"secret_sets":{"type":"array","items":{"type":"string","uniqueKey":"schedule.job.new_sandbox.secret_sets.items.[INDEX]","typeLabel":"string"},"uniqueKey":"schedule.job.new_sandbox.secret_sets","typeLabel":"string[]"}},"uniqueKey":"schedule.job.new_sandbox","typeLabel":"object"},"command":{"type":"array","items":{"type":"string","uniqueKey":"schedule.job.command.items.[INDEX]","typeLabel":"string"},"uniqueKey":"schedule.job.command","typeLabel":"string[]"},"script":{"type":"object","required":["body"],"description":"A script the user wrote or uploaded. The body travels inline and is capped; a script larger than the cap is a program, and a program belongs in the template or fetched by the script itself.","properties":{"body":{"type":"string","description":"The script source text.","isRequired":true,"uniqueKey":"schedule.job.script.body","typeLabel":"string"},"interpreter":{"type":"string","default":"sh","uniqueKey":"schedule.job.script.interpreter","typeLabel":"string"},"args":{"type":"array","items":{"type":"string","uniqueKey":"schedule.job.script.args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"schedule.job.script.args","typeLabel":"string[]"},"filename":{"type":"string","uniqueKey":"schedule.job.script.filename","typeLabel":"string"}},"uniqueKey":"schedule.job.script","typeLabel":"object"},"pre_run_script":{"type":"object","description":"Optional script executed after the sandbox is ready and before the job command or script. A non-zero exit stops the job.","required":["body"],"properties":{"body":{"type":"string","description":"The script source text.","isRequired":true,"uniqueKey":"schedule.job.pre_run_script.body","typeLabel":"string"},"interpreter":{"type":"string","default":"sh","uniqueKey":"schedule.job.pre_run_script.interpreter","typeLabel":"string"},"args":{"type":"array","items":{"type":"string","uniqueKey":"schedule.job.pre_run_script.args.items.[INDEX]","typeLabel":"string"},"uniqueKey":"schedule.job.pre_run_script.args","typeLabel":"string[]"},"filename":{"type":"string","uniqueKey":"schedule.job.pre_run_script.filename","typeLabel":"string"}},"uniqueKey":"schedule.job.pre_run_script","typeLabel":"object"},"env":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"schedule.job.env.additionalProperties","typeLabel":"string"},"uniqueKey":"schedule.job.env","typeLabel":"object"},"secret_sets":{"type":"array","items":{"type":"string","uniqueKey":"schedule.job.secret_sets.items.[INDEX]","typeLabel":"string"},"description":"Secret set names (see /v1/secret-sets).","uniqueKey":"schedule.job.secret_sets","typeLabel":"string[]"},"working_dir":{"type":"string","uniqueKey":"schedule.job.working_dir","typeLabel":"string"},"stdin_b64":{"type":"string","contentEncoding":"base64","uniqueKey":"schedule.job.stdin_b64","typeLabel":"string"},"command_timeout_seconds":{"type":"integer","minimum":1,"uniqueKey":"schedule.job.command_timeout_seconds","typeLabel":"integer"},"run_deadline_seconds":{"type":"integer","minimum":1,"uniqueKey":"schedule.job.run_deadline_seconds","typeLabel":"integer"},"disposition":{"type":"string","enum":["delete","keep"],"default":"delete","description":"What happens to a sandbox this run created when the run ends, however it ends. Not meaningful for an existing sandbox.","uniqueKey":"schedule.job.disposition","typeLabel":"enum\u003cstring>"},"wake_if_paused":{"type":"boolean","default":false,"description":"Applies to an existing sandbox only. False makes a paused target a failure rather than an implicit wake, which is a billable action the caller may not have intended.","uniqueKey":"schedule.job.wake_if_paused","typeLabel":"boolean"},"wait":{"type":"boolean","default":false,"description":"false starts durably and returns immediately (202); true blocks for the result, bounded by the caller's own request timeout (200).","uniqueKey":"schedule.job.wait","typeLabel":"boolean"}},"uniqueKey":"schedule.job","typeLabel":"object"},"note":{"type":"string","uniqueKey":"schedule.note","typeLabel":"string"},"next_run_at_unix_nanos":{"type":"integer","uniqueKey":"schedule.next_run_at_unix_nanos","typeLabel":"integer"},"remaining_actions":{"type":"integer","description":"Present for one-shot schedules; 0 once spent.","uniqueKey":"schedule.remaining_actions","typeLabel":"integer"},"created_at_unix_nanos":{"type":"integer","description":"When this schedule was created. This deployment keeps no schedule state of its own; this is exactly what the workflow engine reports.","uniqueKey":"schedule.created_at_unix_nanos","typeLabel":"integer"},"updated_at_unix_nanos":{"type":"integer","description":"When this schedule was last paused, resumed, or edited.","uniqueKey":"schedule.updated_at_unix_nanos","typeLabel":"integer"},"num_actions":{"type":"integer","description":"How many times this schedule has fired, including manual triggers.","uniqueKey":"schedule.num_actions","typeLabel":"integer"},"num_actions_skipped_overlap":{"type":"integer","description":"Fires dropped because the previous run was still going. Relevant when overlap is skip, the default.","uniqueKey":"schedule.num_actions_skipped_overlap","typeLabel":"integer"},"num_actions_missed_catchup_window":{"type":"integer","description":"Fires dropped because the server was down or behind past its catchup window. A schedule that looks paused but is not may show up here instead.","uniqueKey":"schedule.num_actions_missed_catchup_window","typeLabel":"integer"},"recent_run_ids":{"type":"array","items":{"type":"string","uniqueKey":"schedule.recent_run_ids.items.[INDEX]","typeLabel":"string"},"description":"The last 10 fires' run ids, oldest first, including manual triggers. Each is a valid GET /v1/job/{run_id} id, so a caller can follow one without a separate GET /v1/job?schedule_id=... call.","uniqueKey":"schedule.recent_run_ids","typeLabel":"string[]"},"running_run_ids":{"type":"array","items":{"type":"string","uniqueKey":"schedule.running_run_ids.items.[INDEX]","typeLabel":"string"},"description":"Which of this schedule's own fires are in flight right now. Non-empty only under an overlap policy that allows more than one run at a time; skip, the default, keeps this to at most one.","uniqueKey":"schedule.running_run_ids","typeLabel":"string[]"}},"isRequired":true,"uniqueKey":"schedule","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"schedule":{"schedule_id":"\u003cstring>","paused":true,"one_shot":true,"available_actions":["pause"],"schedule":{"cron_expressions":["\u003cstring>"],"interval_s":123,"run_at_unix_nanos":123,"time_zone":"\u003cstring>","jitter_s":123,"overlap":"skip"},"job":{"name":"\u003cstring>","existing_sandbox_id":"\u003cstring>","new_sandbox":{"template_id":"\u003cstring>","template_revision":123,"snapshot":"\u003cstring>","image":"\u003cstring>","name":"\u003cstring>","network":{"mode":"open","allow":[{"domain":"\u003cstring>","cidr":"\u003cstring>"}]},"env":{},"secret_sets":["\u003cstring>"]},"command":["\u003cstring>"],"script":{"body":"\u003cstring>","interpreter":"sh","args":["\u003cstring>"],"filename":"\u003cstring>"},"pre_run_script":{"body":"\u003cstring>","interpreter":"sh","args":["\u003cstring>"],"filename":"\u003cstring>"},"env":{},"secret_sets":["\u003cstring>"],"working_dir":"\u003cstring>","stdin_b64":"\u003cstring>","command_timeout_seconds":2,"run_deadline_seconds":2,"disposition":"delete","wake_if_paused":false,"wait":false},"note":"\u003cstring>","next_run_at_unix_nanos":123,"remaining_actions":123,"created_at_unix_nanos":123,"updated_at_unix_nanos":123,"num_actions":123,"num_actions_skipped_overlap":123,"num_actions_missed_catchup_window":123,"recent_run_ids":["\u003cstring>"],"running_run_ids":["\u003cstring>"]}}}},"exampleType":"generated"}},"exampleType":"generated"},"a608a50b-db45-4386-bbe4-dc3859052937":{"description":"RFC 9457 problem","content":{"application/problem+json":{"schema":{"type":"object","required":["type","title","status","code"],"properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"\u003cstring>","title":"\u003cstring>","status":123,"code":"\u003cstring>","detail":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a50b259c-f292-4395-add4-3e6c64e8404c":{"personalApiKey":{"type":"http","scheme":"bearer","description":"Personal byk_ API key; user-principal, resolved to a tenant by org context.","scopes":[],"schemeName":"personalApiKey"}},"7a2c0258-a115-43e7-adbf-f6b215c68325":{"supabaseJwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Supabase-issued session JWT; required for org, invite, and key management.","scopes":[],"schemeName":"supabaseJwt"}}},"servers":{"35dd5221-cc61-4405-b8ac-a811ab25010b":{"url":"https://api.bonya.ai","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Personal byk_ API key; user-principal, resolved to a tenant by org context.","scopes":[],"schemeName":"personalApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Personal byk_ API key; user-principal, resolved to a tenant by org context.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"personalApiKey","name":"Authorization"}],"title":"personalApiKey"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Supabase-issued session JWT; required for org, invite, and key management.","scopes":[],"schemeName":"supabaseJwt"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Supabase-issued session JWT; required for org, invite, and key management.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"supabaseJwt","name":"Authorization"}],"title":"supabaseJwt"}]},"originalFileLocation":"api-reference/openapi.yaml"},"subdomain":"bonya","siteName":"Bonya","title":"Create a job schedule - Bonya","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T22:50:33.920Z","originalFileLocation":"api-reference/job-schedules/create-a-job-schedule.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Bonya\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/bonya/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/bonya/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/bonya/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/bonya/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a job schedule - Bonya\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Bonya\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bonya.mintlify.site/_mintlify/api/og/v2?division=Job+Schedules\u0026amp;title=Create+a+job+schedule\u0026amp;theme=be394bdd824f66fd2549706a\u0026amp;signature=409b5bbbf85135921050a28507e13d17e46dc258e232d6e6422abac5b246f1bc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a job schedule - Bonya\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bonya.mintlify.site/_mintlify/api/og/v2?division=Job+Schedules\u0026amp;title=Create+a+job+schedule\u0026amp;theme=be394bdd824f66fd2549706a\u0026amp;signature=409b5bbbf85135921050a28507e13d17e46dc258e232d6e6422abac5b246f1bc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/bonya/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Bonya\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/job-schedules/create-a-job-schedule.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.bonya.ai/#organization\",\"name\":\"Bonya\",\"url\":\"https://docs.bonya.ai\"},{\"@type\":\"WebSite\",\"@id\":\"https://docs.bonya.ai#website\",\"name\":\"Bonya\",\"url\":\"https://docs.bonya.ai\",\"publisher\":{\"@id\":\"https://docs.bonya.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule#webpage\",\"url\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule\",\"name\":\"Create a job schedule\",\"dateModified\":\"2026-11-09T22:50:33.920Z\",\"isPartOf\":{\"@id\":\"https://docs.bonya.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Job Schedules\",\"item\":\"https://docs.bonya.ai/api-reference/job-schedules/list-job-schedules\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a job schedule\",\"item\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule#apireference\",\"headline\":\"Create a job schedule\",\"name\":\"Create a job schedule\",\"url\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule\",\"mainEntityOfPage\":{\"@id\":\"https://docs.bonya.ai/api-reference/job-schedules/create-a-job-schedule#webpage\"},\"dateModified\":\"2026-11-09T22:50:33.920Z\",\"publisher\":{\"@id\":\"https://docs.bonya.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.bonya.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Bonya\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Bonya","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"CLI Reference","pages":[{"title":"CLI Reference","href":"/cli-reference/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/typescript/installation"}]},{"tab":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/overview"}]},{"tab":"API Reference","groups":[{"group":"Templates","pages":[{"title":"List templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/templates","href":"/api-reference/templates/list-templates"},{"title":"Create a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/templates","href":"/api-reference/templates/create-a-template"},{"title":"Get a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/templates/{template_id}","href":"/api-reference/templates/get-a-template"},{"title":"Delete a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/templates/{template_id}","href":"/api-reference/templates/delete-a-template"},{"title":"Update a template","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/templates/{template_id}","href":"/api-reference/templates/update-a-template"}]},{"group":"Registry Connections","pages":[{"title":"List registry connections","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/registry-connections","href":"/api-reference/registry-connections/list-registry-connections"},{"title":"Create a registry connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/registry-connections","href":"/api-reference/registry-connections/create-a-registry-connection"},{"title":"Delete a registry connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/registry-connections/{connection_id}","href":"/api-reference/registry-connections/delete-a-registry-connection"},{"title":"Update a registry connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/registry-connections/{connection_id}","href":"/api-reference/registry-connections/update-a-registry-connection"},{"title":"Validate a registry connection","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/registry-connections/{connection_id}/validate","href":"/api-reference/registry-connections/validate-a-registry-connection"}]},{"group":"Secrets","pages":[{"title":"List secrets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/secrets","href":"/api-reference/secrets/list-secrets"},{"title":"Create a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/secrets","href":"/api-reference/secrets/create-a-secret"},{"title":"Delete a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/secrets/{secret_id}","href":"/api-reference/secrets/delete-a-secret"},{"title":"Update a secret","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/secrets/{secret_id}","href":"/api-reference/secrets/update-a-secret"},{"title":"List secret sets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/secret-sets","href":"/api-reference/secrets/list-secret-sets"},{"title":"Create a secret set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/secret-sets","href":"/api-reference/secrets/create-a-secret-set"},{"title":"Get a secret set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/secret-sets/{secret_set_id}","href":"/api-reference/secrets/get-a-secret-set"},{"title":"Delete a secret set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/secret-sets/{secret_set_id}","href":"/api-reference/secrets/delete-a-secret-set"},{"title":"Update a secret set","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/secret-sets/{secret_set_id}","href":"/api-reference/secrets/update-a-secret-set"}]},{"group":"Sandboxes","pages":[{"title":"List sandboxes","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox","href":"/api-reference/sandboxes/list-sandboxes"},{"title":"Create a sandbox","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox","href":"/api-reference/sandboxes/create-a-sandbox"},{"title":"List GPU options","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/gpu-options","href":"/api-reference/sandboxes/list-gpu-options"},{"title":"Get a sandbox","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}","href":"/api-reference/sandboxes/get-a-sandbox"},{"title":"Delete a sandbox","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/sandbox/{sandbox_id}","href":"/api-reference/sandboxes/delete-a-sandbox"},{"title":"Pause a sandbox","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/pause","href":"/api-reference/sandboxes/pause-a-sandbox"},{"title":"Hold a sandbox awake","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/keepalive","href":"/api-reference/sandboxes/hold-a-sandbox-awake"},{"title":"Mint an exec capability","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/capability","href":"/api-reference/sandboxes/mint-an-exec-capability"},{"title":"Replace the network policy","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/sandbox/{sandbox_id}/network","href":"/api-reference/sandboxes/replace-the-network-policy"},{"title":"Fork a sandbox","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/fork","href":"/api-reference/sandboxes/fork-a-sandbox"}]},{"group":"Snapshots","pages":[{"title":"List a sandbox's snapshots","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/snapshots","href":"/api-reference/snapshots/list-a-sandboxs-snapshots"},{"title":"Create a named snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/snapshots","href":"/api-reference/snapshots/create-a-named-snapshot"},{"title":"Get a snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/snapshot/{snapshot_id}","href":"/api-reference/snapshots/get-a-snapshot"},{"title":"Delete a snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/snapshot/{snapshot_id}","href":"/api-reference/snapshots/delete-a-snapshot"}]},{"group":"Previews","pages":[{"title":"List preview URLs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/previews","href":"/api-reference/previews/list-preview-urls"},{"title":"Create a preview URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/previews","href":"/api-reference/previews/create-a-preview-url"},{"title":"Get a preview URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/previews/{preview_id}","href":"/api-reference/previews/get-a-preview-url"},{"title":"Delete a preview URL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/sandbox/{sandbox_id}/previews/{preview_id}","href":"/api-reference/previews/delete-a-preview-url"},{"title":"List access grants","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/previews/{preview_id}/grants","href":"/api-reference/previews/list-access-grants"},{"title":"Create an access grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/previews/{preview_id}/grants","href":"/api-reference/previews/create-an-access-grant"},{"title":"Revoke an access grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/sandbox/{sandbox_id}/previews/{preview_id}/grants/{grant_id}","href":"/api-reference/previews/revoke-an-access-grant"},{"title":"Renew an access grant","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/previews/{preview_id}/grants/{grant_id}/renew","href":"/api-reference/previews/renew-an-access-grant"}]},{"group":"Exec","pages":[{"title":"Run a command (TTY)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/exec","href":"/api-reference/exec/run-a-command-tty"},{"title":"Run a command (buffered)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/exec","href":"/api-reference/exec/run-a-command-buffered"}]},{"group":"Sessions","pages":[{"title":"List sessions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Create a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/sessions","href":"/api-reference/sessions/create-a-session"},{"title":"Attach to a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/sessions/{session_name}/attach","href":"/api-reference/sessions/attach-to-a-session"},{"title":"Kill a session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/sessions/{session_name}/kill","href":"/api-reference/sessions/kill-a-session"}]},{"group":"Filesystem","pages":[{"title":"Read a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/fs/read","href":"/api-reference/filesystem/read-a-file"},{"title":"Write a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml put /v1/sandbox/{sandbox_id}/fs/write","href":"/api-reference/filesystem/write-a-file"},{"title":"List a directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/fs/list","href":"/api-reference/filesystem/list-a-directory"},{"title":"Get file metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/sandbox/{sandbox_id}/fs/stat","href":"/api-reference/filesystem/get-file-metadata"},{"title":"Create a directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/fs/mkdir","href":"/api-reference/filesystem/create-a-directory"},{"title":"Rename or move a file","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/sandbox/{sandbox_id}/fs/rename","href":"/api-reference/filesystem/rename-or-move-a-file"},{"title":"Delete a file or directory","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/sandbox/{sandbox_id}/fs","href":"/api-reference/filesystem/delete-a-file-or-directory"}]},{"group":"Jobs","pages":[{"title":"List job runs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/job","href":"/api-reference/jobs/list-job-runs"},{"title":"Create a job","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job","href":"/api-reference/jobs/create-a-job"},{"title":"Get a job run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/job/{run_id}","href":"/api-reference/jobs/get-a-job-run"},{"title":"Cancel a job run","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job/{run_id}/cancel","href":"/api-reference/jobs/cancel-a-job-run"}]},{"group":"Job Schedules","pages":[{"title":"List job schedules","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/job-schedule","href":"/api-reference/job-schedules/list-job-schedules"},{"title":"Create a job schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job-schedule","href":"/api-reference/job-schedules/create-a-job-schedule"},{"title":"Get a job schedule","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/job-schedule/{schedule_id}","href":"/api-reference/job-schedules/get-a-job-schedule"},{"title":"Delete a job schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/job-schedule/{schedule_id}","href":"/api-reference/job-schedules/delete-a-job-schedule"},{"title":"Update a job schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/job-schedule/{schedule_id}","href":"/api-reference/job-schedules/update-a-job-schedule"},{"title":"Pause or resume a job schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job-schedule/{schedule_id}/pause","href":"/api-reference/job-schedules/pause-or-resume-a-job-schedule"},{"title":"Trigger a job schedule","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/job-schedule/{schedule_id}/trigger","href":"/api-reference/job-schedules/trigger-a-job-schedule"}]},{"group":"Organizations","pages":[{"title":"List organizations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations","href":"/api-reference/organizations/list-organizations"},{"title":"Create an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/organizations","href":"/api-reference/organizations/create-an-organization"},{"title":"Get an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}","href":"/api-reference/organizations/get-an-organization"},{"title":"Rename an organization","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/organizations/{organization_id}","href":"/api-reference/organizations/rename-an-organization"},{"title":"List members","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}/members","href":"/api-reference/organizations/list-members"},{"title":"Remove a member","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/organizations/{organization_id}/members/{user_id}","href":"/api-reference/organizations/remove-a-member"},{"title":"Update a member's role","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml patch /v1/organizations/{organization_id}/members/{user_id}","href":"/api-reference/organizations/update-a-members-role"},{"title":"Get usage and credit balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}/usage","href":"/api-reference/organizations/get-usage-and-credit-balance"},{"title":"Get a usage breakdown","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}/usage/breakdown","href":"/api-reference/organizations/get-a-usage-breakdown"},{"title":"Get a usage time series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}/usage/series","href":"/api-reference/organizations/get-a-usage-time-series"}]},{"group":"Invitations","pages":[{"title":"List invitations","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/organizations/{organization_id}/invites","href":"/api-reference/invitations/list-invitations"},{"title":"Create an invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/organizations/{organization_id}/invites","href":"/api-reference/invitations/create-an-invitation"},{"title":"Revoke an invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/organizations/{organization_id}/invites/{invitation_id}","href":"/api-reference/invitations/revoke-an-invitation"},{"title":"Accept an invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/invitations/accept","href":"/api-reference/invitations/accept-an-invitation"}]},{"group":"API Keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml get /v1/api-keys","href":"/api-reference/api-keys/list-api-keys"},{"title":"Create an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/api-keys","href":"/api-reference/api-keys/create-an-api-key"},{"title":"Revoke an API key","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml delete /v1/api-keys/{key_id}","href":"/api-reference/api-keys/revoke-an-api-key"}]},{"group":"Device Login","pages":[{"title":"Start a device login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/device-login","href":"/api-reference/device-login/start-a-device-login"},{"title":"Approve a device login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/device-login/approve","href":"/api-reference/device-login/approve-a-device-login"},{"title":"Poll a device login","deprecated":null,"version":null,"openapi":"/api-reference/openapi.yaml post /v1/device-login/poll","href":"/api-reference/device-login/poll-a-device-login"}]}]}]},"basePath":"","title":"Create a job schedule - Bonya","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C-hEh3I2.js","utils-CnF4QiUD.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-C7PVNbel.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-8ytevL2A.js","snippetPresets-BT1alx3v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BLXC0i_W.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CyLIGI9_.js","shallow-DC0lGVIW.js","getApiPlaygroundDisplay-CgDQ85tN.js","CodeSnippet-6-I-Gpv9.js","CodeSnippets-BAk1kDdu.js","Page-C945cI-W.js","getPastedJson-B276RuWN.js","icon-BqP8etTm.js","MethodPill-DM6sbxG1.js","DuplicateIcon-PyJglOaE.js","createIcon-CMeOMAc_.js","DynamicMarkdown-BoyYAA8K.js","SectionHeading-DAYv3gvZ.js","axios-vUo_bRtp.js","Markdown-BhTTmazV.js","clsx-CR-RHrVC.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CBUH0-zX.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BmARFYNC.js"]}