GET /workspaces/{workspaceId}/describe format, roles and draft ops an agent uses to change it'
Call this first when you are setting up or changing what axonpush stores for an application. axonpush adapts per installation. A workspace spec declares, as data, what this application stores: - attributes: the data dictionary. Every attribute key the app may send, with a type, an optional role and a personal flag. Undeclared keys are dropped at ingest and counted. - entities: the things being tracked (for example agent, ticket, order). Each lists the attribute keys it stores (fields), the keys identify() may set (profile), terminal states, and the events that update it. - funnels, views and alerts: what the dashboard shows and what pages people. To change the spec, never rewrite it blindly: read the shared draft (workspaces.draft), send typed edits with workspaces.applyDraftOps using the draft's version, check workspaces.draftChanges, and ask the user to review before workspaces.activateDraft. Use workspaces.catalog to see which events and attributes the app really sends. SETTING UP AN APPLICATION (the user does not copy anything from the dashboard): 1. Call workspaces_describe (this tool) and read the codebase to find what is worth tracking. 2. Draft the data dictionary, entities and events with workspaces_draft and workspaces_applyDraftOps; explain any personal attributes to the user first. 3. Ask the user to review and activate the draft in the dashboard, or call workspaces_activateDraft if they approve in the chat. 4. Call workspaces_connect and write the returned env into the app's git-ignored env file (.env.local or the project's secret convention). Never commit, print or paste the key. 5. Add the SDK observe calls where the events happen and identify calls for profile attributes, reading the env written in the previous step. 6. Wire the application's existing logging, OpenTelemetry or Sentry error integration (or its supported SDK adapter) so exceptions retain their original traceback and source locations. Correlate technical events and business observations with trace/span ids where available; do not put raw exceptions in business attributes. 7. Send one test event from the app and confirm it appears in workspaces_catalog. 8. Verify exception capture with a controlled failure locally or in a test environment, and confirm the traceback and file/line locations reach the error detail. Explain missing capture instead of claiming success. Do not create synthetic production errors. The response contains a plain-language summary of this workspace, the setup steps, the full format reference, the role list and the op catalogue with examples.
curl -X GET "https://example.com/workspaces/string/describe"{ "$schema": "https://example.com/schemas/ActivityDescription.json", "draft": "string", "ops": [ { "description": "string", "example": "string", "op": "string" } ], "reference": "string", "roles": [ { "meaning": "string", "role": "string" } ], "setup": [ "string" ], "summary": [ "string" ], "types": [ "string" ], "workspace": { "$schema": "https://example.com/schemas/ActivityWorkspace.json", "activeRevision": "string", "appId": "string", "createdAt": "2019-08-24T14:15:22Z", "generation": 0, "id": "string", "name": "string", "requestedRevision": "string" }}