Build logs
Revoke a team API key POST
Revokes one of the team's API keys in Xeonr Auth, by the URN `ListApiKeys` returns. A key that does not exist or belongs to another team is `NOT_FOUND`. Verifiers cache a key's answer for up to 30 seconds, so a revoked key stops working within that time. Needs the admin role in the team. Needs a signed-in user: team API keys are refused on every method of this service (`PERMISSION_DENIED`). A `token.delete` event is recorded in the activity feed. **Required scopes:** `functions:functions:edit`
Read a version's build log POST
Returns a version's build output from `offsetBytes` onward, with the offset to send next (`nextOffsetBytes`) and the version's current state. Output is stored while the build runs, about twice a second. Call again with the returned offset until `complete` is true. A static version builds nothing, so it is complete at once with an empty log. An offset past the end returns no output. Needs the viewer role in the owning team. Callable with a console session or a team API key (`Authorization: Bearer xk_…`). **Required scopes:** `functions:functions:read`