Docs / Jobs
Ask for a job
POST/v1/jobs
Only a customer's key may ask. The job holds the most it may cost from the customer's credits until it completes:
each reaction at its kind's rate (GET /v1/prices), or a synthesis's max_credits. To retry a call that may have
failed, such as one that timed out, send it again with the same Idempotency-Key: that gives back the job the first
call made rather than a second one.
Headers
1 to 255 visible ASCII characters that name this request.
Body
JobRequest, as application/json
Whether only this customer may ever see the job's results. It cannot change later.
Whether the lab may hand back results it already measured for the same reaction, at the reuse rate, instead of running it again. The match is exact: every field the two reactions state must agree, and an earlier synthesis must have been for at least the amount, with a measured purity of at least the purity asked for.
Which of the four jobs this is, and what it needs.
kindsays which.Chemists review a route to a target and say what they would change. It hands back their review and no rewards.
The route's reactions, in order.
Show 7 fields of Reaction
The customer's own name for the reaction, unique within the job. Its rewards carry it.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
Text that says something, such as a procedure: not empty, not all spaces, and with no NUL character. It may hold line breaks.
The amount of the limiting reactant. The lab chooses it when absent.
A temperature in degrees Celsius, from absolute zero to 5000.
An amount greater than zero, up to 1012.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
The lab runs each reaction. Each hands back its yield.
At least one reaction, with unique IDs, so that a reward can name one.
Show 7 fields of Reaction
The customer's own name for the reaction, unique within the job. Its rewards carry it.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
Text that says something, such as a procedure: not empty, not all spaces, and with no NUL character. It may hold line breaks.
The amount of the limiting reactant. The lab chooses it when absent.
A temperature in degrees Celsius, from absolute zero to 5000.
An amount greater than zero, up to 1012.
The lab runs each reaction as one well of a plate. Each hands back its conversion or yield.
At least one reaction, with unique IDs, so that a reward can name one.
Show 7 fields of Reaction
The customer's own name for the reaction, unique within the job. Its rewards carry it.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
Text that says something, such as a procedure: not empty, not all spaces, and with no NUL character. It may hold line breaks.
The amount of the limiting reactant. The lab chooses it when absent.
A temperature in degrees Celsius, from absolute zero to 5000.
An amount greater than zero, up to 1012.
The lab makes an amount of a target at a purity. It hands back the final yield and purity.
An amount greater than zero, up to 1012.
The most credits the job may cost. The job holds them until it completes.
A percentage, from 0 to 100.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
The route to follow, in order. Leave it out for the lab to choose one.
Show 7 fields of Reaction
The customer's own name for the reaction, unique within the job. Its rewards carry it.
A molecule as SMILES. The lab checks the chemistry; the API checks only that it is printable ASCII without spaces.
Text that says something, such as a procedure: not empty, not all spaces, and with no NUL character. It may hold line breaks.
The amount of the limiting reactant. The lab chooses it when absent.
A temperature in degrees Celsius, from absolute zero to 5000.
An amount greater than zero, up to 1012.
Responses
| 201 | The job, new or made by an earlier call with the same idempotency key. |
| 401 | Send a valid API key as Authorization: Bearer <key>. |
| 402 | The job may cost more than the balance, or than is left of the key's limit. |
| 403 | The key is not a customer's. |
| 409 | The idempotency key was used for a different request. |
| 413 | The body is larger than 1 MiB. |
| 415 | The body is not sent as application/json. |
| 422 | A parameter or the body does not parse. |
| 500 | Something went wrong on our side. |
| 503 | This kind of job has no price yet. |
201 returns Job. Every error is a Problem, whose detail says what went wrong.