Agents

Authenticate agent on Google Cloud instance

Changed on
post/api/v2/workspaceagents/google-instance-identity

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/workspaceagents/google-instance-identity
  • Auth
    API key in header Coder-Session-Token

Request body

agent_namestring

AgentName optionally selects a specific agent when multiple agents share the same instance identity. An empty string is treated as unspecified.

json_web_tokenstring required

Response

OK

session_tokenstring

Changes