Stop pushes to this phone
Stop push notifications to this phone. Takes the Expo push token register_push_device stored. Only removes a token registered by the signed-in person. Removing a token that isn't registered succeeds and reports removed: false.
Authorization
bearerAuth A personal access token from Settings > API tokens.
In: header
Path Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/me/push-devices/string"{
"removed": true,
"property1": null,
"property2": null
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}{
"type": "http://example.com",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"errors": [
{
"path": "string",
"message": "string"
}
],
"estimate": {},
"retryAfterSeconds": 0
}Send this phone a push after each call in a workspace PUT
Send this phone a push notification after each call in a workspace. Takes the Expo push token the Yabbie app got from the phone, the workspace to follow and the platform. A phone follows one workspace: registering the same token again from another workspace or another account moves it. Calls to an agent the signed-in person can't see never push. Stop with unregister_push_device.
Accept agent prompt improvement POST
Accept an Optimise-Prompt proposal, publish its proposed system prompt as a new agent version. Use this after the optimise loop (optimise_agent_prompt) leaves a 'proposed' session you want to apply. It clones the current published version into a draft, writes the proposed prompt, and publishes it through the SAME path the editor uses (so the publish validator still gates it), then marks the session accepted. It only succeeds when the loop's re-run proved the proposed prompt raised the pass rate (pass_rate_after > pass_rate_before); a non-improving or already-resolved session is refused. This is the human-in-the-loop accept the self-improving loop deliberately gates on, never publish a prompt change blindly. Returns the new published version number. The session must belong to the current workspace and agent.