Agents

Post workspace agent log source

Changed on
post/api/v2/workspaceagents/me/log-source

Request

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

Request body

display_namestring
iconstring
idstring

ID is a unique identifier for the log source. It is scoped to a workspace agent, and can be statically defined inside code to prevent duplicate sources from being created for the same agent.

Response

OK

created_atstring date-time
display_namestring
iconstring
idstring uuid
workspace_agent_idstring uuid

Changes