Miniself API
Your commitments, errands, decision cards, daily brief and captured notes.
The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.
GET/v1/miniself/commitments
List commitments
Lists the commitments in the workspace that you owe or are owed, newest first. Pass status to keep one state. Needs miniself:read.
Paged: limit is 1 to 100 (default 50, out of range values are clamped) and cursor is the next_cursor of the previous page. The cursor is opaque and never built by the client; a cursor this API did not return is a 400. has_more is true while another page exists. There is no total.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
status | query | No | Keep only commitments in this state. | |
limit | query | integer | No | How many items to return. Default 50, at most 100. |
cursor | query | string | No | The `next_cursor` of the previous page. Opaque; never built by the client. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/commitments/{id}
Get a commitment
Returns one commitment with the full list of state changes it went through. Needs miniself:read. A commitment that is not yours, or does not exist, is 404.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The resource id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/errands
Open an errand
Starts a playbook for one of your commitments, for example chasing a payment or returning a call. The playbook's own spending cap is opened as the commitment's budget. Needs miniself:write.
Idempotency-Key is required and names what triggered the errand. Asking again with the same key, or while the commitment already has an open run of the same playbook, returns that run instead of a second one. Once the run is over, a new key starts a new run. An input the playbook does not accept is 400; an unknown commitment is 404.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
Idempotency-Key | header | string | Yes | What triggered this errand. Printable characters, 8 to 128 long. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/cards/{id}/answer
Answer a decision card
Answers a card with approve, change, wait or skip. Needs miniself:write. change needs reply, your own words for the new plan. A choice the card does not offer is 400.
Answering twice the same way is safe: the second answer changes nothing and returns already_handled. A card that is not yours, or does not exist, is 404.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The resource id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/tasks
List tasks asked of you
Lists the tasks a workflow asked of you that still wait on you, the one whose turn ends first at the top. Each task has the questions to answer. Needs miniself:read.
Paged: limit is 1 to 100 (default 50, out of range values are clamped) and cursor is the next_cursor of the previous page. The cursor is opaque and never built by the client; a cursor this API did not return is a 400. has_more is true while another page exists. There is no total.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | No | How many items to return. Default 50, at most 100. |
cursor | query | string | No | The `next_cursor` of the previous page. Opaque; never built by the client. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/tasks/{key}/answer
Answer a task
Gives your answers to a task's questions. Needs miniself:write. Every question marked required needs an answer, in the form its kind takes: an amount of money as a number or in words ("Rs. 5,000", "2 lakh"), a choice as one of its option values, a yes or no as true or false. An answer that cannot be read is 400.
The first valid answer decides the task. If someone answered before you, the status says whether your answer agreed (agreed) or differed (conflicted, and theirs stands). A task that has ended is 409. A task that was not asked of you is 403.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
key | path | string | Yes | The task's `key`. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/tasks/{key}/evidence/{slot}
Attach evidence to a task
Keeps a photo, file or voice note with the job, in one of the task's evidence slots. The body is the file itself and Content-Type says what it is: a photo slot takes image/jpeg, image/png, image/webp or image/heic; a voice slot takes audio/*; a file slot takes a PDF, an image or plain text; a text slot takes text/plain. At most 10 MB. Evidence never settles a task by itself: a payment screenshot is kept and the decider still has to confirm. Needs miniself:write. A task that has ended is 409; one that was not asked of you is 403.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
key | path | string | Yes | The task's `key`. |
slot | path | string | Yes | The evidence slot's `key`. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/tasks/{key}/decline
Decline a task
Tells the workflow you cannot do this task. The next person is asked at once, or the task ends if you were the last. Needs miniself:write. Returns 204 with no body. A task that has ended is 409; one that was not asked of you is 403.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
key | path | string | Yes | The task's `key`. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/pause
Get the pause switch
Says whether everything the assistant would send is held back. Needs miniself:read.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
PUT/v1/miniself/pause
Pause or resume everything
Holds everything the assistant would send, or lets it go on. Needs miniself:write. Nothing is cancelled while paused: messages, calls and payments wait, and go out in order when you turn the pause off. Setting the state it already has is safe.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/commitments/{id}/pause
Get the pause switch of one commitment
Says whether everything sent for this one commitment (an order, a booking, a filing, an errand) is held back. Needs miniself:read.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
PUT/v1/miniself/commitments/{id}/pause
Pause or resume one commitment
Holds everything sent for this one commitment, or lets it go on. The rest of the workspace goes on either way. Nothing is cancelled while paused. Needs miniself:write.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/brief
Get the daily brief
What needs you now: commitments past their due time, commitments due in the next 24 hours, and the decision cards waiting on you. Each list holds at most 25 items; the *_total fields count them all. Needs miniself:read.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/notes
Submit a captured note
Hands a note you captured in the app to the assistant, which finds the promises in it. Each promise is opened as a commitment, merged into one you already have, or put to you as a decision card. Needs miniself:write.
note_id is chosen by the app. Sending the same note_id again does not read the note twice: the answer has already_heard set. Text over 8000 characters is 400.
When the note names a number to reach, such as "call 98XXXXXXXX and ask about the GPS", writing the note is you asking to reach that number. It becomes a contact and the promise is with them.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/miniself/standing-rules
List always-do-this rules
Lists the rules you set with "always do this" that you have not taken back, newest first. A rule that has lapsed stays listed until you revoke it. Needs miniself:read.
Paged: limit is 1 to 100 (default 50, out of range values are clamped) and cursor is the next_cursor of the previous page. The cursor is opaque and never built by the client; a cursor this API did not return is a 400. has_more is true while another page exists. There is no total.
Scope miniself:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | No | How many items to return. Default 50, at most 100. |
cursor | query | string | No | The `next_cursor` of the previous page. Opaque; never built by the client. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/miniself/standing-rules/{id}/revoke
Revoke an always-do-this rule
Takes a rule back. The permission it gave the assistant ends first, then the rule, so the assistant asks you again from then on. Needs miniself:write.
Revoking twice is safe: the second call changes nothing and returns already_revoked. A rule that is not yours, or does not exist, is 404.
Scope miniself:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The resource id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |