The examples on this page show common ways to use the APC API — they’re not a complete API reference. For the full, interactive API documentation for your installation, including every available query, mutation, and type, go to
https://houston.<your-base-domain>/v1, and click on the Docs tab. See Develop and test APC API queries for more on using the built-in GraphQL explorer.Create a Workspace
Use thecreateWorkspace mutation to create a Workspace. The label is required, and description is optional. The mutation returns details about the new Workspace, including its id.
Update a Workspace
Use theupdateWorkspace mutation to update an existing Workspace. Provide the workspaceUuid and a payload that contains the fields to update, such as label and description. To retrieve the workspaceUuid, run astro workspace list or use the workspaces query.
Delete a Workspace
Use thedeleteWorkspace mutation to delete a Workspace. Provide the workspaceUuid of the Workspace to delete. The mutation returns details about the deleted Workspace to confirm the operation.