permission

Create permission request

Evaluate and, when approval is required, create a permission request for a session.

post/api/session/{sessionID}/permission

Request

  • Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL: https://opencode.ai/api/session/{sessionID}/permission
  • Auth: none required

Path parameters

sessionIDstring required

Request body

idstring
actionstring required
resourcesstring[] required
savestring[]
metadataobject
agentstring

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.