Pointy Backend API
v1.0.0/backendHTTP API served by the Pointy backend. All routes are mounted under the /backend prefix by the reverse proxy.
autocomplete
/autocomplete
Returns autocomplete suggestions for a field, evaluated against the user repository.
Body
autocompletestringrequiredcontextobjectrequiredlimitinteger[-9223372036854776000, 9223372036854776000]querystringrequiredtemplatestringrequiredParameters
commitstringqueryResponse
Invalid body or commit
curl -X POST '/backend/autocomplete' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"autocomplete": "string",
"context": {},
"limit": -9223372036854776000,
"query": "string",
"template": "string"
}'const response = await fetch('/backend/autocomplete', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"autocomplete": "string",
"context": {},
"limit": -9223372036854776000,
"query": "string",
"template": "string"
}),
});
const data = await response.json();import requests
payload = {
"autocomplete": "string",
"context": {},
"limit": -9223372036854776000,
"query": "string",
"template": "string"
}
response = requests.post('/backend/autocomplete', json=payload)
data = response.json(){
"autocomplete": "string",
"context": {},
"limit": -9223372036854776000,
"query": "string",
"template": "string"
}[
"string"
]commit-hash
/commit-hash
Returns the commit hash the user repository is currently checked out at.
Response
curl -X GET '/backend/commit-hash'const response = await fetch('/backend/commit-hash', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/commit-hash')
data = response.json()stringevents
/events
Streams the application's live state as server-sent events: a cluster-status and an ingest-jobs event on connect and on every change, step-status events with partial folder snapshots (the 256 most recent replayed on connect), and a heartbeat after 30 idle seconds.
Response
curl -X GET '/backend/events'const response = await fetch('/backend/events', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/events')
data = response.json()<binary>notices
/notices
Returns evaluation notices (warnings and errors) for a step.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X GET '/backend/notices'const response = await fetch('/backend/notices', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/notices')
data = response.json(){}presets
/presets
Returns the field presets defined in the user repository.
Parameters
commitstringqueryResponse
Invalid commit
curl -X GET '/backend/presets'const response = await fetch('/backend/presets', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/presets')
data = response.json(){}project-review
/project-review
Reports how every step in a project at one revision compares with its reviewed revision, together with that reviewed revision.
Parameters
project_idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or project_id
curl -X GET '/backend/project-review'const response = await fetch('/backend/project-review', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/project-review')
data = response.json(){}project-rollup
/project-rollup
Returns, for every direct child project of a project in its effective order, the number of steps reachable below it and the counts of their statuses, recursively and counting each step once per child project, optionally at a specific user-repo commit.
Parameters
project_idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or project_id
curl -X GET '/backend/project-rollup'const response = await fetch('/backend/project-rollup', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/project-rollup')
data = response.json(){}project-status
/project-status
Re-evaluates a project's step statuses and broadcasts them on the step status stream.
Parameters
project_idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or project_id
curl -X POST '/backend/project-status'const response = await fetch('/backend/project-status', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/project-status')
data = response.json()projects
/projects
Returns every project keyed by id, including the root project 0, optionally at a specific user-repo commit. Each project lists its steps and subprojects in children; revisions written in the former steps format are converted to this shape.
Parameters
commitstringqueryResponse
Invalid commit
curl -X GET '/backend/projects'const response = await fetch('/backend/projects', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/projects')
data = response.json(){}/projects
Creates a project from its name and preset or templates, and appends it to the children of the parent project (the root project 0 by default) in one commit. Returns the evaluated project.
Body
A project's name and exactly one of preset or templates.
namestringrequiredpresetstringtemplatesArray<string>Parameters
parent_idinteger[-9223372036854776000, 9223372036854776000]queryResponse
Invalid body or parent_id
curl -X POST '/backend/projects' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"name": "string",
"preset": "string",
"templates": [
"string"
]
}'const response = await fetch('/backend/projects', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"name": "string",
"preset": "string",
"templates": [
"string"
]
}),
});
const data = await response.json();import requests
payload = {
"name": "string",
"preset": "string",
"templates": [
"string"
]
}
response = requests.post('/backend/projects', json=payload)
data = response.json(){
"name": "string",
"preset": "string",
"templates": [
"string"
]
}{}/projects
Replaces a project's name and preset or templates; its children are left unchanged.
Body
A project's name and exactly one of preset or templates.
namestringrequiredpresetstringtemplatesArray<string>Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid body or id
curl -X PATCH '/backend/projects' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"name": "string",
"preset": "string",
"templates": [
"string"
]
}'const response = await fetch('/backend/projects', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"name": "string",
"preset": "string",
"templates": [
"string"
]
}),
});
const data = await response.json();import requests
payload = {
"name": "string",
"preset": "string",
"templates": [
"string"
]
}
response = requests.patch('/backend/projects', json=payload)
data = response.json(){
"name": "string",
"preset": "string",
"templates": [
"string"
]
}/projects/batch
Applies an ordered list of project tree operations (update, link, unlink, order, hide, delete) validated as a whole and written in one commit. Refuses to delete the root project 0, reviewed steps, or steps that remaining steps depend on. Validation failures return 409 with a human message; an empty list returns 400.
Body
Response
Invalid body
curl -X POST '/backend/projects/batch' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '[
{
"child": {
"step": {
"id": 0
}
},
"children": [
{
"step": {
"id": 0
}
}
],
"fields": {
"name": "string",
"preset": "string",
"templates": [
"string"
]
},
"hidden": true,
"op": "string",
"parent": 0,
"project": 0
}
]'const response = await fetch('/backend/projects/batch', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify([
{
"child": {
"step": {
"id": 0
}
},
"children": [
{
"step": {
"id": 0
}
}
],
"fields": {
"name": "string",
"preset": "string",
"templates": [
"string"
]
},
"hidden": true,
"op": "string",
"parent": 0,
"project": 0
}
]),
});
const data = await response.json();import requests
payload = [
{
"child": {
"step": {
"id": 0
}
},
"children": [
{
"step": {
"id": 0
}
}
],
"fields": {
"name": "string",
"preset": "string",
"templates": [
"string"
]
},
"hidden": True,
"op": "string",
"parent": 0,
"project": 0
}
]
response = requests.post('/backend/projects/batch', json=payload)
data = response.json()[
{
"child": {
"step": {
"id": 0
}
},
"children": [
{
"step": {
"id": 0
}
}
],
"fields": {
"name": "string",
"preset": "string",
"templates": [
"string"
]
},
"hidden": true,
"op": "string",
"parent": 0,
"project": 0
}
]rdf
/rdf/artifact/{segments}
Describes an artifact at a commit and every artifact upstream of it as Turtle. Segments are the artifact permalink's project path, step id and full 40-digit commit hash; the optional path names one file in the step's output, as the permalink's ?path= does. nginx routes /artifact/ requests accepting text/turtle here.
Parameters
segmentsstringrequiredpathpathstringqueryResponse
Invalid path
segments not found
curl -X GET '/backend/rdf/artifact/{segments}'const response = await fetch('/backend/rdf/artifact/{segments}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/rdf/artifact/{segments}')
data = response.json()stringrun-step
/run-step
Triggers a build of a step.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/run-step'const response = await fetch('/backend/run-step', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/run-step')
data = response.json()scratch
/scratch
Returns the configured scratch directory root, or null when scratch is not configured.
Response
curl -X GET '/backend/scratch'const response = await fetch('/backend/scratch', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/scratch')
data = response.json(){
"root": "string"
}/scratch/list
Lists the entries of a directory inside the scratch root, directories first.
Parameters
pathstringqueryResponse
Invalid path
curl -X GET '/backend/scratch/list'const response = await fetch('/backend/scratch/list', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/scratch/list')
data = response.json(){
"entries": [
{
"directory": true,
"name": "string",
"size": 0
}
],
"path": "string"
}/scratch/wrap
Starts an ingest job that wraps a directory inside the scratch root into a step.
Body
pathstringrequiredParameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid body or id
curl -X POST '/backend/scratch/wrap' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"path": "string"
}'const response = await fetch('/backend/scratch/wrap', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"path": "string"
}),
});
const data = await response.json();import requests
payload = {
"path": "string"
}
response = requests.post('/backend/scratch/wrap', json=payload)
data = response.json(){
"path": "string"
}stringsrc-files
/src-files
Lists source files available to a step, optionally at a specific user-repo commit.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringqueryResponse
Invalid path or commit or id
curl -X GET '/backend/src-files'const response = await fetch('/backend/src-files', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/src-files')
data = response.json()[
{
"cold": true,
"isDir": true,
"mimeType": "string",
"name": "string",
"seekable": true,
"size": 0,
"viewable": true
}
]/src-files
Creates a source file and commits it to the user repository.
Body
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerypathstringrequiredqueryResponse
Invalid body or path or id
curl -X POST '/backend/src-files' \
-H 'Content-Type: text/plain;charset=utf-8' \
-d '"string"'const response = await fetch('/backend/src-files', {
method: 'POST',
headers: {
'Content-Type': 'text/plain;charset=utf-8',
},
body: JSON.stringify("string"),
});
const data = await response.json();import requests
payload = "string"
response = requests.post('/backend/src-files', json=payload)
data = response.json()string/src-files
Updates a source file and commits it to the user repository.
Body
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerypathstringrequiredqueryResponse
Invalid body or path or id
curl -X PUT '/backend/src-files' \
-H 'Content-Type: text/plain;charset=utf-8' \
-d '"string"'const response = await fetch('/backend/src-files', {
method: 'PUT',
headers: {
'Content-Type': 'text/plain;charset=utf-8',
},
body: JSON.stringify("string"),
});
const data = await response.json();import requests
payload = "string"
response = requests.put('/backend/src-files', json=payload)
data = response.json()string/src-files
Deletes a source file and commits it to the user repository.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerypathstringrequiredqueryResponse
Invalid path or id
curl -X DELETE '/backend/src-files'const response = await fetch('/backend/src-files', {
method: 'DELETE',
});
const data = await response.json();import requests
response = requests.delete('/backend/src-files')
data = response.json()/src-files/download
Downloads a single source file.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringrequiredqueryResponse
Invalid path or commit or id
curl -X GET '/backend/src-files/download'const response = await fetch('/backend/src-files/download', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/src-files/download')
data = response.json()"<binary>"/src-files/seek
Returns a bounded source-file chunk. Specify exactly one of line or offset and a nonzero signed byte count: positive bytes read forward from the anchor; negative bytes read backward and end at the anchor.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringrequiredquerylineinteger[-9223372036854776000, 9223372036854776000]queryoffsetinteger[-9223372036854776000, 9223372036854776000]querybytesinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid bytes or offset or line or path or commit or id
curl -X GET '/backend/src-files/seek'const response = await fetch('/backend/src-files/seek', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/src-files/seek')
data = response.json(){
"content": "string",
"endLine": -9223372036854776000,
"endOffset": -9223372036854776000,
"eof": true,
"startLine": -9223372036854776000,
"startOffset": -9223372036854776000
}step
/step
Creates a step, optionally seeded from a source step.
Body
Parameters
project_idinteger[-9223372036854776000, 9223372036854776000]querysource_idinteger[-9223372036854776000, 9223372036854776000]queryResponse
Invalid body or source_id or project_id
curl -X POST '/backend/step' \
-H 'Content-Type: application/json' \
-d '{}'const response = await fetch('/backend/step', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
});
const data = await response.json();import requests
payload = {}
response = requests.post('/backend/step', json=payload)
data = response.json(){}{}/step
Updates an existing step record.
Body
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid body or id
curl -X PATCH '/backend/step' \
-H 'Content-Type: application/json' \
-d '{}'const response = await fetch('/backend/step', {
method: 'PATCH',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({}),
});
const data = await response.json();import requests
payload = {}
response = requests.patch('/backend/step', json=payload)
data = response.json(){}step-comparison
/step-comparison
Compares a step's output at revision with its output at commit, with the outcomes of a review comparison: revision takes the reviewed side and commit the viewed side.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryrevisionstringrequiredquerycommitstringrequiredqueryResponse
Invalid commit or revision or id
curl -X GET '/backend/step-comparison'const response = await fetch('/backend/step-comparison', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-comparison')
data = response.json(){
"comparison": "string"
}step-config
/step-config
Returns the step configuration defined in the user repository.
Parameters
commitstringqueryResponse
Invalid commit
curl -X GET '/backend/step-config'const response = await fetch('/backend/step-config', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-config')
data = response.json(){}step-files
/step-files
Lists files in a step's output directory.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringqueryResponse
Invalid path or commit or id
curl -X GET '/backend/step-files'const response = await fetch('/backend/step-files', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files')
data = response.json()[
{
"cold": true,
"isDir": true,
"mimeType": "string",
"name": "string",
"seekable": true,
"size": 0,
"viewable": true
}
]/step-files/bundle/{step-id}/{commit}/{segments}
Serves a raw file within an immutable step-output bundle.
Parameters
step-idinteger[-9223372036854776000, 9223372036854776000]requiredpathcommitstringrequiredpathsegmentsstringrequiredpathResponse
step-id or commit or segments not found
curl -X GET '/backend/step-files/bundle/{step-id}/{commit}/{segments}'const response = await fetch('/backend/step-files/bundle/{step-id}/{commit}/{segments}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/bundle/{step-id}/{commit}/{segments}')
data = response.json()"<binary>"/step-files/cold
Lists the files of a step's output that are not local, with each one's cold storage state: offloaded, onloading with its progress, or failed with the error. Returns 503 when the cold storage provider cannot report a status.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X GET '/backend/step-files/cold'const response = await fetch('/backend/step-files/cold', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/cold')
data = response.json(){
"capacityBytes": 0,
"files": [
{
"done": 0,
"error": "string",
"path": "string",
"size": 0,
"state": "offloaded",
"total": 0
}
]
}/step-files/download
Downloads a single file from a step's output directory.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringrequiredqueryResponse
Invalid path or commit or id
curl -X GET '/backend/step-files/download'const response = await fetch('/backend/step-files/download', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/download')
data = response.json()"<binary>"/step-files/extras
Returns a step's JSON extras payload.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringqueryResponse
Invalid path or commit or id
curl -X GET '/backend/step-files/extras'const response = await fetch('/backend/step-files/extras', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/extras')
data = response.json(){}/step-files/onload
Asks the cold storage provider to start onloading one offloaded file of a step's output. Progress is reported by the cold status route.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringrequiredqueryResponse
Invalid path or commit or id
curl -X POST '/backend/step-files/onload'const response = await fetch('/backend/step-files/onload', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/step-files/onload')
data = response.json()/step-files/raw/{segments}
Serves the raw bytes of a file from a step's output directory.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerysegmentsstringrequiredpathResponse
Invalid commit or id
segments not found
curl -X GET '/backend/step-files/raw/{segments}'const response = await fetch('/backend/step-files/raw/{segments}', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/raw/{segments}')
data = response.json()"<binary>"/step-files/seek
Returns a bounded file chunk. Specify exactly one of line or offset and a nonzero signed byte count: positive bytes read forward from the anchor; negative bytes read backward and end at the anchor.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringquerypathstringrequiredquerylineinteger[-9223372036854776000, 9223372036854776000]queryoffsetinteger[-9223372036854776000, 9223372036854776000]querybytesinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid bytes or offset or line or path or commit or id
curl -X GET '/backend/step-files/seek'const response = await fetch('/backend/step-files/seek', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-files/seek')
data = response.json(){
"content": "string",
"endLine": -9223372036854776000,
"endOffset": -9223372036854776000,
"eof": true,
"startLine": -9223372036854776000,
"startOffset": -9223372036854776000
}step-inputs
/step-inputs/cold
Lists the offloaded files that the run of a step reads, grouped by the step whose output holds them, together with the steps that refuse to start because of them.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X GET '/backend/step-inputs/cold'const response = await fetch('/backend/step-inputs/cold', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-inputs/cold')
data = response.json(){
"blocked": [
0
],
"sources": [
{
"files": [
{
"done": 0,
"error": "string",
"path": "string",
"size": 0,
"state": "offloaded",
"total": 0
}
],
"step": 0
}
]
}/step-inputs/onload
Starts copying back the offloaded inputs that the cold inputs route lists and returns their new status. Files already copying are skipped, so repeated calls are safe.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/step-inputs/onload'const response = await fetch('/backend/step-inputs/onload', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/step-inputs/onload')
data = response.json(){
"blocked": [
0
],
"sources": [
{
"files": [
{
"done": 0,
"error": "string",
"path": "string",
"size": 0,
"state": "offloaded",
"total": 0
}
],
"step": 0
}
]
}step-log
/step-log
Returns the failed build behind a step's status: which build failed (the step itself, an upstream step, or a package), the builds linking it to the step, the output of the phases its template defines, and the full raw log.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X GET '/backend/step-log'const response = await fetch('/backend/step-log', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-log')
data = response.json(){
"failed": {
"kind": "step",
"name": "string",
"stage": "build",
"stepId": 0
},
"log": "string",
"output": "string",
"reason": "string",
"via": [
{
"kind": "step",
"name": "string",
"stage": "build",
"stepId": 0
}
]
}step-review
/step-review
Records the viewed revision as a step's reviewed revision, together with who reviewed it and their comments, when there is no review or its output is unchanged. Returns whether the viewed output differs from the reviewed one.
Body
reviewCommentsstringrequiredreviewedBystringrequiredParameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid body or commit or id
curl -X POST '/backend/step-review' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"reviewComments": "string",
"reviewedBy": "string"
}'const response = await fetch('/backend/step-review', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"reviewComments": "string",
"reviewedBy": "string"
}),
});
const data = await response.json();import requests
payload = {
"reviewComments": "string",
"reviewedBy": "string"
}
response = requests.post('/backend/step-review', json=payload)
data = response.json(){
"reviewComments": "string",
"reviewedBy": "string"
}true/step-review
Removes a step's review.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid id
curl -X DELETE '/backend/step-review'const response = await fetch('/backend/step-review', {
method: 'DELETE',
});
const data = await response.json();import requests
response = requests.delete('/backend/step-review')
data = response.json()step-search
/step-search
Returns steps related to a search query, ranked by embedding similarity and optionally filtered by the judge.
Body
excludeArray<integer>querystringrequiredParameters
commitstringqueryResponse
Invalid body or commit
curl -X POST '/backend/step-search' \
-H 'Content-Type: application/json;charset=utf-8' \
-d '{
"exclude": [
0
],
"query": "string"
}'const response = await fetch('/backend/step-search', {
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=utf-8',
},
body: JSON.stringify({
"exclude": [
0
],
"query": "string"
}),
});
const data = await response.json();import requests
payload = {
"exclude": [
0
],
"query": "string"
}
response = requests.post('/backend/step-search', json=payload)
data = response.json(){
"exclude": [
0
],
"query": "string"
}{
"results": [
{
"relevance": 0,
"similarity": 0,
"step_id": 0
}
]
}/step-search/info
Reports whether semantic step search and the judge are configured.
Response
curl -X GET '/backend/step-search/info'const response = await fetch('/backend/step-search/info', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/step-search/info')
data = response.json(){
"judge": true,
"semantic": true
}stop-step
/stop-step
Stops a running step build.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/stop-step'const response = await fetch('/backend/stop-step', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/stop-step')
data = response.json()storage
/storage
Returns the Storage panel's view from the backend's cache: the bytes that step output revisions keep on this server, the bytes they have offloaded to cold storage, the warm capacity that holds the local bytes, the cold tier's optional capacity, and every revision still in the store with its step, kind, and cold storage state. Asks the backend to re-read the branch, store sizes and cold storage statuses; the refreshed view arrives as a storage event on /events.
Response
curl -X GET '/backend/storage'const response = await fetch('/backend/storage', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/storage')
data = response.json(){
"capacity": {
"availableBytes": 0,
"kind": "filesystem",
"label": "string",
"totalBytes": 0,
"usedBytes": 0
},
"cold": 0,
"coldCapacity": {
"availableBytes": 0,
"kind": "filesystem",
"label": "string",
"totalBytes": 0,
"usedBytes": 0
},
"coldConfigured": true,
"error": "string",
"history": 0,
"local": 0,
"revisionCount": 0,
"revisions": [
{
"blocked": {
"kind": "step",
"name": "string",
"state": "running",
"step": 0
},
"cold": 0,
"committedAt": "string",
"currentName": "string",
"done": 0,
"error": "string",
"kind": "derived",
"local": 0,
"name": "string",
"revision": "string",
"state": "local",
"step": 0,
"total": 0
}
],
"scanned": 0,
"scanning": true,
"updatedAt": "string"
}/storage/delete
Deletes one revision's step output and returns 200 with an empty body. When cold storage is configured, deletes the provider's cold copy first (502 on provider failure), then removes Pointy's output, certificate, and extras GC roots (when the revision has extras) and runs nix-store --delete; repeating it is safe once the output is gone. Refuses with 409 while the step, or a step that directly reads its output, is running or queued, while an offload of the output is running, when the store refuses to delete a rooted or alive path, or when the store exits successfully but the output path is still valid (for example through another store path or a lower store); every removed GC root is restored. 500 when a GC root cannot be restored. 503 when the backend cannot tell which steps are running, cannot read the cold storage status, or cannot verify the deletion. Deleting the revision does not delete its extras output; the next garbage collection removes it.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/storage/delete'const response = await fetch('/backend/storage/delete', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/storage/delete')
data = response.json()/storage/offload
Starts moving every local file of a step revision's output to cold storage and returns before any bytes move. Progress, completion and the provider's failure reason arrive as storage events on /events. Refuses with 409 while a step that directly reads this output is running or queued.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/storage/offload'const response = await fetch('/backend/storage/offload', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/storage/offload')
data = response.json()/storage/offload-step
Starts moving every local or failed revision of a step's outputs to cold storage, one output after another in a single background thread, and returns before any bytes move. Progress, completion and the provider's failure reason arrive as storage events on /events. Refuses with 409 while the step, or a step that directly reads its output, is running or queued.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid id
curl -X POST '/backend/storage/offload-step'const response = await fetch('/backend/storage/offload-step', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/storage/offload-step')
data = response.json()/storage/onload
Starts copying every offloaded file of one revision's output back to this server and returns before the bytes arrive. Each file already local or already copying is skipped, so repeating it is safe. Progress arrives as storage events on /events. Refuses with 409 while the step, or a step that directly reads its output, is running or queued; 503 when the cold status is unavailable.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredquerycommitstringqueryResponse
Invalid commit or id
curl -X POST '/backend/storage/onload'const response = await fetch('/backend/storage/onload', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/storage/onload')
data = response.json()/storage/onload-step
Starts copying back every offloaded file of every cold or failed revision of a step's outputs and returns before the bytes arrive. Each file already local or already copying is skipped, so repeating it is safe. Progress arrives as storage events on /events. Refuses with 409 while the step, or a step that directly reads its output, is running or queued, or while an output is freezing; 502 when the provider refuses to start a rewarm; 503 when the cold status is unavailable.
Parameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid id
curl -X POST '/backend/storage/onload-step'const response = await fetch('/backend/storage/onload-step', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/storage/onload-step')
data = response.json()token-auth
/token-auth
Answers nginx whether the request carries a valid session token for this instance's audience.
Parameters
CookiestringheaderResponse
Invalid Cookie
curl -X GET '/backend/token-auth'const response = await fetch('/backend/token-auth', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/token-auth')
data = response.json()token-login
/token-login
Accepts a session token posted by an external login page and stores it in a cookie scoped to this instance's host.
Body
redirectstring | nullrequiredtokenstringrequiredResponse
Invalid body
curl -X POST '/backend/token-login' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d '{
"redirect": "string",
"token": "string"
}'const response = await fetch('/backend/token-login', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: JSON.stringify({
"redirect": "string",
"token": "string"
}),
});
const data = await response.json();import requests
payload = {
"redirect": "string",
"token": "string"
}
response = requests.post('/backend/token-login', json=payload)
data = response.json(){
"redirect": "string",
"token": "string"
}token-logout
/token-logout
Clears the session cookie on this instance's host and redirects to the root, so the next request goes through the login page again.
Response
curl -X POST '/backend/token-logout'const response = await fetch('/backend/token-logout', {
method: 'POST',
});
const data = await response.json();import requests
response = requests.post('/backend/token-logout')
data = response.json()token-session
/token-session
Returns the account and user of the session token in this request's cookie. 404 when the instance is not behind token auth.
Parameters
CookiestringheaderResponse
Invalid Cookie
curl -X GET '/backend/token-session'const response = await fetch('/backend/token-session', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/token-session')
data = response.json(){
"account": "string",
"user": "string"
}upload
/upload
Stages files uploaded into a step's source directory and starts an ingest job.
Body
filesArray<string>requiredParameters
idinteger[-9223372036854776000, 9223372036854776000]requiredqueryResponse
Invalid id
curl -X POST '/backend/upload' \
-H 'Content-Type: multipart/form-data' \
-d '{
"files": [
"<binary>"
]
}'const response = await fetch('/backend/upload', {
method: 'POST',
headers: {
'Content-Type': 'multipart/form-data',
},
body: JSON.stringify({
"files": [
"<binary>"
]
}),
});
const data = await response.json();import requests
payload = {
"files": [
"<binary>"
]
}
response = requests.post('/backend/upload', json=payload)
data = response.json(){
"files": [
"<binary>"
]
}stringuser-repo-info
/user-repo-info
Returns the configured user repository URL and branch.
Response
curl -X GET '/backend/user-repo-info'const response = await fetch('/backend/user-repo-info', {
method: 'GET',
});
const data = await response.json();import requests
response = requests.get('/backend/user-repo-info')
data = response.json(){
"branch": "string",
"url": "string"
}Models
AgentGitState
objectbranchDiffstringrequiredcommitLogstringrequiredhasAgentCommitsbooleanrequiredheadCommitstringrequired{
"branchDiff": "string",
"commitLog": "string",
"hasAgentCommits": true,
"headCommit": "string"
}AgentSession
objectactiveTurnIdstringagentBranchstringrequiredagentCurrentProjectIdinteger[-9223372036854776000, 9223372036854776000]autoApplybooleanrequiredautoApplyClientstringbaseCommitstringrequiredcreatedAtUTCTime<yyyy-mm-ddThh:MM:ssZ>requiredlastErrorstringpreparedApplyPreparedApplysessionIdstringrequiredsessionNamestringstatusstringrequiredtargetBranchstringrequiredupdatedAtUTCTime<yyyy-mm-ddThh:MM:ssZ>requiredworktreePathstringrequired{
"activeTurnId": "string",
"agentBranch": "string",
"agentCurrentProjectId": -9223372036854776000,
"autoApply": true,
"autoApplyClient": "string",
"baseCommit": "string",
"createdAt": "2016-07-22T00:00:00Z",
"lastError": "string",
"preparedApply": {
"agentHead": "string",
"candidateHead": "string",
"candidateWorktree": "string",
"targetHead": "string"
},
"sessionId": "string",
"sessionName": "string",
"status": "string",
"targetBranch": "string",
"updatedAt": "2016-07-22T00:00:00Z",
"worktreePath": "string"
}AgentSessionSummary
objecthasCommitsbooleanrequiredlastTurnAtUTCTime<yyyy-mm-ddThh:MM:ssZ>sessionAgentSessionrequiredtitlestringrequiredturnCountinteger[-9223372036854776000, 9223372036854776000]required{
"hasCommits": true,
"lastTurnAt": "2016-07-22T00:00:00Z",
"session": {
"activeTurnId": "string",
"agentBranch": "string",
"agentCurrentProjectId": -9223372036854776000,
"autoApply": true,
"autoApplyClient": "string",
"baseCommit": "string",
"createdAt": "2016-07-22T00:00:00Z",
"lastError": "string",
"preparedApply": {
"agentHead": "string",
"candidateHead": "string",
"candidateWorktree": "string",
"targetHead": "string"
},
"sessionId": "string",
"sessionName": "string",
"status": "string",
"targetBranch": "string",
"updatedAt": "2016-07-22T00:00:00Z",
"worktreePath": "string"
},
"title": "string",
"turnCount": -9223372036854776000
}AgentSessionView
objectgitStateAgentGitStaterequiredsessionAgentSessionrequiredturnsArray<AgentTurn>required{
"gitState": {
"branchDiff": "string",
"commitLog": "string",
"hasAgentCommits": true,
"headCommit": "string"
},
"session": {
"activeTurnId": "string",
"agentBranch": "string",
"agentCurrentProjectId": -9223372036854776000,
"autoApply": true,
"autoApplyClient": "string",
"baseCommit": "string",
"createdAt": "2016-07-22T00:00:00Z",
"lastError": "string",
"preparedApply": {
"agentHead": "string",
"candidateHead": "string",
"candidateWorktree": "string",
"targetHead": "string"
},
"sessionId": "string",
"sessionName": "string",
"status": "string",
"targetBranch": "string",
"updatedAt": "2016-07-22T00:00:00Z",
"worktreePath": "string"
},
"turns": [
{
"turnAreaCaptures": [
{
"artifact": {
"commit": "string",
"path": [
"string"
],
"projectPath": [
0
],
"stepId": 0
},
"documentSize": {
"height": 0,
"width": 0
},
"overviewImage": 0,
"selectionImage": 0,
"selectionRect": {
"height": 0,
"width": 0,
"x": 0,
"y": 0
}
}
],
"turnAutomatic": true,
"turnExitCode": -9223372036854776000,
"turnFinishedAt": "2016-07-22T00:00:00Z",
"turnId": "string",
"turnImages": [
"string"
],
"turnLog": "string",
"turnLogPath": "string",
"turnPrompt": "string",
"turnSessionId": "string",
"turnStartedAt": "2016-07-22T00:00:00Z",
"turnStatus": "string"
}
]
}AgentTurn
objectturnAreaCapturesArray<StoredAreaCapture>requiredturnAutomaticbooleanrequiredturnExitCodeinteger[-9223372036854776000, 9223372036854776000]turnFinishedAtUTCTime<yyyy-mm-ddThh:MM:ssZ>turnIdstringrequiredturnImagesArray<string>requiredturnLogstringrequiredturnLogPathstringrequiredturnPromptstringrequiredturnSessionIdstringrequiredturnStartedAtUTCTime<yyyy-mm-ddThh:MM:ssZ>requiredturnStatusstringrequired{
"turnAreaCaptures": [
{
"artifact": {
"commit": "string",
"path": [
"string"
],
"projectPath": [
0
],
"stepId": 0
},
"documentSize": {
"height": 0,
"width": 0
},
"overviewImage": 0,
"selectionImage": 0,
"selectionRect": {
"height": 0,
"width": 0,
"x": 0,
"y": 0
}
}
],
"turnAutomatic": true,
"turnExitCode": -9223372036854776000,
"turnFinishedAt": "2016-07-22T00:00:00Z",
"turnId": "string",
"turnImages": [
"string"
],
"turnLog": "string",
"turnLogPath": "string",
"turnPrompt": "string",
"turnSessionId": "string",
"turnStartedAt": "2016-07-22T00:00:00Z",
"turnStatus": "string"
}AgentUsage
objectappliedSessionsinteger[-9223372036854776000, 9223372036854776000]requireddiscardedSessionsinteger[-9223372036854776000, 9223372036854776000]requiredopenSessionsinteger[-9223372036854776000, 9223372036854776000]requiredrunningSessionsinteger[-9223372036854776000, 9223372036854776000]requiredtotalSessionsinteger[-9223372036854776000, 9223372036854776000]required{
"appliedSessions": -9223372036854776000,
"discardedSessions": -9223372036854776000,
"openSessions": -9223372036854776000,
"runningSessions": -9223372036854776000,
"totalSessions": -9223372036854776000
}ApplyRequest
objectautoApplybooleanrequiredclientIdstringsessionIdstringrequired{
"autoApply": true,
"clientId": "string",
"sessionId": "string"
}AutoApplyRequest
objectautoApplybooleanrequiredclientIdstringrequired{
"autoApply": true,
"clientId": "string"
}AutocompleteRequest
objectautocompletestringrequiredcontextobjectrequiredlimitinteger[-9223372036854776000, 9223372036854776000]querystringrequiredtemplatestringrequired{
"autocomplete": "string",
"context": {},
"limit": -9223372036854776000,
"query": "string",
"template": "string"
}ChatSearchRequest
objectexcludeArray<string>querystringrequired{
"exclude": [
"string"
],
"query": "string"
}ChatSearchResponse
objectresultsArray<object>required{
"results": [
{
"relevance": 0,
"session_id": "string",
"similarity": 0
}
]
}ChildRef
objectA step or project child of a project.
stepobjectrequiredprojectobjectrequired{
"step": {
"id": 0
}
}ColdInputsView
objectblockedArray<integer>requiredsourcesArray<object>required{
"blocked": [
0
],
"sources": [
{
"files": [
{
"done": 0,
"error": "string",
"path": "string",
"size": 0,
"state": "offloaded",
"total": 0
}
],
"step": 0
}
]
}ColdStatus
objectcapacityBytesintegerfilesArray<object>required{
"capacityBytes": 0,
"files": [
{
"done": 0,
"error": "string",
"path": "string",
"size": 0,
"state": "offloaded",
"total": 0
}
]
}DirEntry
objectcoldbooleanrequiredisDirbooleanrequiredmimeTypestringnamestringrequiredseekablebooleanrequiredsizeintegerrequiredviewablebooleanrequired{
"cold": true,
"isDir": true,
"mimeType": "string",
"name": "string",
"seekable": true,
"size": 0,
"viewable": true
}FileChunk
objectcontentstringrequiredendLineinteger[-9223372036854776000, 9223372036854776000]requiredendOffsetinteger[-9223372036854776000, 9223372036854776000]requiredeofbooleanrequiredstartLineinteger[-9223372036854776000, 9223372036854776000]requiredstartOffsetinteger[-9223372036854776000, 9223372036854776000]required{
"content": "string",
"endLine": -9223372036854776000,
"endOffset": -9223372036854776000,
"eof": true,
"startLine": -9223372036854776000,
"startOffset": -9223372036854776000
}PreparedApply
objectagentHeadstringrequiredcandidateHeadstringrequiredcandidateWorktreestringrequiredtargetHeadstringrequired{
"agentHead": "string",
"candidateHead": "string",
"candidateWorktree": "string",
"targetHead": "string"
}ProjectFields
objectA project's name and exactly one of preset or templates.
namestringrequiredpresetstringtemplatesArray<string>{
"name": "string",
"preset": "string",
"templates": [
"string"
]
}RenameSessionRequest
objectnamestringrequiredsessionIdstringrequired{
"name": "string",
"sessionId": "string"
}ReviewRequest
objectreviewCommentsstringrequiredreviewedBystringrequired{
"reviewComments": "string",
"reviewedBy": "string"
}ScratchEntry
objectdirectorybooleanrequirednamestringrequiredsizeinteger | nullrequired{
"directory": true,
"name": "string",
"size": 0
}ScratchListing
objectentriesArray<ScratchEntry>requiredpathstringrequired{
"entries": [
{
"directory": true,
"name": "string",
"size": 0
}
],
"path": "string"
}StepLogView
objectfailedobjectrequiredA build: a step (stepId, stage is its own computation build or its output check typeCheck) or a package.
logstringrequiredoutputstringrequiredreasonstring | nullrequiredviaArray<object>required{
"failed": {
"kind": "step",
"name": "string",
"stage": "build",
"stepId": 0
},
"log": "string",
"output": "string",
"reason": "string",
"via": [
{
"kind": "step",
"name": "string",
"stage": "build",
"stepId": 0
}
]
}StepReviewReport
objectcomparisonstringrequiredcomparisonDetailstringrequiredreviewCommentsstringrequiredreviewedBystringrequiredreviewedCertificatestringrequiredreviewedRevisionstringrequiredreviewedStatusstringrequiredreviewedStatusErrorstringrequired{
"comparison": "string",
"comparisonDetail": "string",
"reviewComments": "string",
"reviewedBy": "string",
"reviewedCertificate": "string",
"reviewedRevision": "string",
"reviewedStatus": "string",
"reviewedStatusError": "string"
}StepSearchInfo
objectjudgebooleanrequiredsemanticbooleanrequired{
"judge": true,
"semantic": true
}StepSearchRequest
objectexcludeArray<integer>querystringrequired{
"exclude": [
0
],
"query": "string"
}StepSearchResponse
objectresultsArray<object>required{
"results": [
{
"relevance": 0,
"similarity": 0,
"step_id": 0
}
]
}StorageBlocker
objectA step that directly reads the output, or an error that prevents telling which steps read it.
kindstringsteprequirednamestringrequiredstatestringrunningqueuedrequiredstepintegerrequiredkindstringerrorrequiredmessagestringrequired{
"kind": "step",
"name": "string",
"state": "running",
"step": 0
}StorageCapacity
objectavailableBytesintegerrequiredkindstringfilesystemquotarequiredlabelstringrequiredtotalBytesintegerrequiredusedBytesintegerrequired{
"availableBytes": 0,
"kind": "filesystem",
"label": "string",
"totalBytes": 0,
"usedBytes": 0
}StorageRevision
objectblockedobject | object | nullrequiredcoldintegerrequiredcommittedAtstringrequiredcurrentNamestring | nullrequireddoneintegerrequirederrorstring | nullrequiredkindstringderiveddownloaduploadrequiredlocalintegerrequirednamestringrequiredrevisionstringrequiredstatestringlocaloffloadingonloadingfailedcoldunknownrequiredstepintegerrequiredtotalintegerrequired{
"blocked": {
"kind": "step",
"name": "string",
"state": "running",
"step": 0
},
"cold": 0,
"committedAt": "string",
"currentName": "string",
"done": 0,
"error": "string",
"kind": "derived",
"local": 0,
"name": "string",
"revision": "string",
"state": "local",
"step": 0,
"total": 0
}StorageView
objectcapacityStorageCapacity | nullrequiredcoldintegerrequiredcoldCapacityStorageCapacity | nullrequiredcoldConfiguredbooleanrequirederrorstring | nullrequiredhistoryintegerrequiredlocalintegerrequiredrevisionCountintegerrequiredrevisionsArray<StorageRevision>requiredscannedintegerrequiredscanningbooleanrequiredupdatedAtstringrequired{
"capacity": {
"availableBytes": 0,
"kind": "filesystem",
"label": "string",
"totalBytes": 0,
"usedBytes": 0
},
"cold": 0,
"coldCapacity": {
"availableBytes": 0,
"kind": "filesystem",
"label": "string",
"totalBytes": 0,
"usedBytes": 0
},
"coldConfigured": true,
"error": "string",
"history": 0,
"local": 0,
"revisionCount": 0,
"revisions": [
{
"blocked": {
"kind": "step",
"name": "string",
"state": "running",
"step": 0
},
"cold": 0,
"committedAt": "string",
"currentName": "string",
"done": 0,
"error": "string",
"kind": "derived",
"local": 0,
"name": "string",
"revision": "string",
"state": "local",
"step": 0,
"total": 0
}
],
"scanned": 0,
"scanning": true,
"updatedAt": "string"
}StoredAreaCapture
objectartifactobject | nullrequiredThe artifact the area was captured from, as the parts of its permalink.
documentSizeobjectrequiredoverviewImageintegerrequiredselectionImageintegerrequiredselectionRectobjectrequired{
"artifact": {
"commit": "string",
"path": [
"string"
],
"projectPath": [
0
],
"stepId": 0
},
"documentSize": {
"height": 0,
"width": 0
},
"overviewImage": 0,
"selectionImage": 0,
"selectionRect": {
"height": 0,
"width": 0,
"x": 0,
"y": 0
}
}TokenLoginForm
objectredirectstring | nullrequiredtokenstringrequired{
"redirect": "string",
"token": "string"
}TokenSession
objectaccountstringrequireduserstring | nullrequired{
"account": "string",
"user": "string"
}TreeOp
objectOne project tree operation: update {project,fields}; link or unlink {parent,child}; order {parent,children}; hide {parent,child,hidden}; delete {child}.
childobject | objectA step or project child of a project.
childrenArray<ChildRef>fieldsProjectFieldsA project's name and exactly one of preset or templates.
hiddenbooleanopstringrequiredOne of update, link, unlink, order, hide, delete.
parentintegerprojectinteger{
"child": {
"step": {
"id": 0
}
},
"children": [
{
"step": {
"id": 0
}
}
],
"fields": {
"name": "string",
"preset": "string",
"templates": [
"string"
]
},
"hidden": true,
"op": "string",
"parent": 0,
"project": 0
}TurnRequest
objectareaCapturesArray<object>autoApplybooleanclientIdstringcurrentProjectIdinteger | nullimagesArray<object>promptstringrequiredsessionIdstringrequiredviewedArtifactobject | null{
"areaCaptures": [
{
"artifact": {
"commit": "string",
"path": [
"string"
],
"projectPath": [
0
],
"stepId": 0
},
"documentSize": {
"height": 0,
"width": 0
},
"overview": {
"data": "string",
"mimeType": "string"
},
"selection": {
"data": "string",
"mimeType": "string"
},
"selectionRect": {
"height": 0,
"width": 0,
"x": 0,
"y": 0
}
}
],
"autoApply": true,
"clientId": "string",
"currentProjectId": 0,
"images": [
{
"data": "string",
"mimeType": "string"
}
],
"prompt": "string",
"sessionId": "string",
"viewedArtifact": {
"commit": "string",
"path": [
"string"
],
"stepId": 0
}
}