## Get consumed OpenAPI spec **get** `/v1/workspaces/{workspaceId}/tool_sets/{toolSetId}/openapi_spec` Retrieves the current OpenAPI specification JSON that has been consumed by the tool set. Only applicable to tool sets using the OpenAPI adapter. ### Path Parameters - `workspaceId: string` - `toolSetId: string` ### Returns - `spec: optional string` The consumed OpenAPI specification as a JSON string. ### Example ```http curl https://api.cadenya.com/v1/workspaces/$WORKSPACE_ID/tool_sets/$TOOL_SET_ID/openapi_spec \ -H "Authorization: Bearer $CADENYA_API_KEY" ``` #### Response ```json { "spec": "spec" } ```