from mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.responses.wake(response_id="resp_sleep123", input="I have more context now; resume immediately.")
# Handle response
print(res){
"object": "response.sleep_wake",
"response_id": "resp_sleep123",
"created_at": "2026-05-01T16:30:00.000Z"
}Interrupts a short sleep tool call on an in-progress background response by providing follow-up input. Wake delivery is polled by the sleeping agent and may take up to one second.
from mka1 import SDK
with SDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as sdk:
res = sdk.llm.responses.wake(response_id="resp_sleep123", input="I have more context now; resume immediately.")
# Handle response
print(res){
"object": "response.sleep_wake",
"response_id": "resp_sleep123",
"created_at": "2026-05-01T16:30:00.000Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Optional external end-user identifier forwarded by the API gateway.
The unique identifier of the response, formatted as 'resp_' or 'resp-' followed by alphanumeric characters.
^resp[-_][a-zA-Z0-9]+$1 - 20000Was this page helpful?