Ticket implementations
Read an implementation's status, conversation, and code changes, send it messages, and run QA checks on it.
An implementation's status, agent, ticket, and pull requests.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringThe request has succeeded.
application/json- response
id*stringfriendly_id*stringurl*stringuristatus*stringSuch as idle, running, pending_user, or failed.
created_at*stringdate-timecreator*|nullpull_requests*array<>profile_name*|The coding agent working on it.
model*string|nullticket*curl -X GET 'https://www.superconductor.com/api/v1/ticket_implementations/string'{ "id": "string", "friendly_id": "string", "url": "http://example.com", "status": "string", "created_at": "2019-08-24T14:15:22Z", "creator": { "type": "string", "id": "string", "name": "string", "email": "string" }, "pull_requests": [ { "id": "string", "number": 0, "url": "http://example.com", "status": "string", "provider": "string", "created_at": "2019-08-24T14:15:22Z", "last_pushed_at": "2019-08-24T14:15:22Z" } ], "profile_name": "string", "model": "string", "ticket": { "id": "string", "friendly_id": "string", "url": "http://example.com", "title": "string", "status": "string" }}An implementation's conversation, in order.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringlimit?integerHow many records to return.
int321 <= value <= 1000100cursor?stringThe next_cursor of the previous page.
The request has succeeded.
application/json- response
data*array<>next_cursor*|Pass this as cursor to get the next page, or null on the last page.
curl -X GET 'https://www.superconductor.com/api/v1/ticket_implementations/string/messages'{ "data": [ { "id": "string", "url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "author": { "type": "string", "name": "string", "id": "string", "email": "string" }, "text": "string" } ], "next_cursor": "string"}Post a message to an implementation's conversation as the user the token belongs to. Its coding agent picks the message up and responds, as it would to a message sent in Superconductor.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringapplication/json- body
message*The request has succeeded and a new resource has been created as a result.
application/json- response
id*stringurl*stringOpens the message in its implementation's or chat's conversation.
uricreated_at*stringdate-timeauthor*text*string|nullcurl -X POST 'https://www.superconductor.com/api/v1/ticket_implementations/string/messages' \ -H 'Content-Type: application/json' \ -d '{ "message": { "text": "string" }}'{ "id": "string", "url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "author": { "type": "string", "name": "string", "id": "string", "email": "string" }, "text": "string"}An implementation's latest code changes, one git diff per repository.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringThe request has succeeded.
application/json- response
repositories*array<>One entry per repository, by name.
curl -X GET 'https://www.superconductor.com/api/v1/ticket_implementations/string/diff'{ "repositories": [ { "name": "string", "merge_base": "string", "diff": "string", "error": "string" } ]}An implementation's QA checks, newest first.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringlimit?integerHow many records to return.
int321 <= value <= 1000100cursor?stringThe next_cursor of the previous page.
The request has succeeded.
application/json- response
data*array<>next_cursor*|Pass this as cursor to get the next page, or null on the last page.
curl -X GET 'https://www.superconductor.com/api/v1/ticket_implementations/string/qa_checks'{ "data": [ { "id": "string", "url": "http://example.com", "status": "string", "created_at": "2019-08-24T14:15:22Z", "overall_score": 0.1, "complete": true, "report": { "property1": null, "property2": null } } ], "next_cursor": "string"}Start a QA check of an implementation's latest code changes, as the user the token belongs to, or the user a coding
agent works for. That user must be an owner, admin, or collaborator in the workspace. It runs with the project's
default QA check agent; poll GET /qa_checks/{id} for its report.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringThe request has succeeded and a new resource has been created as a result.
application/json- response
id*stringurl*stringOpens the QA check on its implementation's page.
uristatus*stringidle or running until the check finishes, then pending_user with a report, or failed.
created_at*stringdate-timeoverall_score*|The average of the check's feature, code quality, and tests scores, from 0 to 5.
complete*|Whether the check found that the implementation meets the ticket's requirements.
report*|The QA agent's findings, such as summary, feature_score, feature_notes, code_quality_score,
tests_quality_score, and improvements_needed, or null until the check finishes. The agent writes it, so its
fields can change.
curl -X POST 'https://www.superconductor.com/api/v1/ticket_implementations/string/qa_checks'{ "id": "string", "url": "http://example.com", "status": "string", "created_at": "2019-08-24T14:15:22Z", "overall_score": 0.1, "complete": true, "report": { "property1": null, "property2": null }}A QA check's status and, once it finishes, its report.
PersonalAccessTokenAuthorizationBearer <token>A personal access token, created under Account Settings → Developer → Personal access tokens.
id*stringThe request has succeeded.
application/json- response
id*stringurl*stringOpens the QA check on its implementation's page.
uristatus*stringidle or running until the check finishes, then pending_user with a report, or failed.
created_at*stringdate-timeoverall_score*|The average of the check's feature, code quality, and tests scores, from 0 to 5.
complete*|Whether the check found that the implementation meets the ticket's requirements.
report*|The QA agent's findings, such as summary, feature_score, feature_notes, code_quality_score,
tests_quality_score, and improvements_needed, or null until the check finishes. The agent writes it, so its
fields can change.
curl -X GET 'https://www.superconductor.com/api/v1/qa_checks/string'{ "id": "string", "url": "http://example.com", "status": "string", "created_at": "2019-08-24T14:15:22Z", "overall_score": 0.1, "complete": true, "report": { "property1": null, "property2": null }}