Skip to content
OperadeDocs

Search documentation

Type to search documentation.

Documentation
Copy page
Open raw Markdown

List Google Sheets connections

List safe Google account, spreadsheet grant, status, and impact metadata.

Endpoint

GET/api/v1/workspaces/{workspace_id}/google-sheets/connections

Authentication

Operation classAuthenticationMinimum roleAPI key
dashboard-session-apiDashboard session cookie; POST mutations also require X-CX-Request: 1.adminNot allowed

Parameters

NameInTypeRequiredDescription
workspace_idpathstringYes—

Request body

This operation has no request body.

Example

cURL
curl --request GET 'https://operade.ai/api/v1/workspaces/ws_demo/google-sheets/connections' --cookie 'cx_session=YOUR_SESSION_COOKIE'

Responses

StatusDescriptionContent
4XXHandled client errorapplication/json: ErrorResponse
200Successful Responseapplication/json: GoogleConnectionListResponse

4XX application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectErrorResponse—NoYes——
errorobjectErrorItem—NoYes——
error.codestring——NoYes——
error.detailsobject——NoNo——
error.messagestring——NoYes——

200 application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectGoogleConnectionListResponse—NoYes——
connectionsarray<GoogleConnection>——NoYes——
connections[]objectGoogleConnection—NoYes——
connections[].account_display_namestring——NoYes——
connections[].account_emailstring or null——YesYes——
connections[].created_atstring—date-timeNoYes——
connections[].grantsarray<GoogleSheetGrant>——NoYes——
connections[].grants[]objectGoogleSheetGrant—NoYes——
connections[].grants[].idstring——NoYes——
connections[].grants[].mime_typestring——NoYes"application/vnd.google-apps.spreadsheet"—
connections[].grants[].selected_atstring—date-timeNoYes——
connections[].grants[].spreadsheet_namestring——NoYes——
connections[].idstring——NoYes——
connections[].impact_countinteger——NoYes——
connections[].namestring——NoYes——
connections[].published_agent_countinteger——NoYes——
connections[].revoked_atstring or null—date-timeYesYes——
connections[].statusstring——NoYes"active", "reconnect_required", "revoked"—
connections[].status_codestring or null——YesYes——
connections[].updated_atstring—date-timeNoYes——

Response example

Response body JSON
{
  "connections": [
    {
      "id": "gconn_example",
      "name": "ops@example.com",
      "account_email": "ops@example.com",
      "account_display_name": "Operations",
      "status": "revoked",
      "status_code": "revoked",
      "impact_count": 2,
      "published_agent_count": 1,
      "grants": [
        {
          "id": "gsgrant_example",
          "spreadsheet_name": "Customers",
          "mime_type": "application/vnd.google-apps.spreadsheet",
          "selected_at": "2026-08-22T00:00:00Z"
        }
      ],
      "created_at": "2026-08-22T00:00:00Z",
      "updated_at": "2026-08-22T00:05:00Z",
      "revoked_at": "2026-08-22T00:05:00Z"
    }
  ]
}

Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the distributed error index to find each code's canonical domain page.

StatusCodeDescription
401unauthenticatedAuthentication is missing, invalid, or revoked.
403forbiddenOnly a workspace admin or owner can manage Google connections.
503google_integration_not_configuredThe Google Sheets integration is disabled or incomplete.
On this page
  1. Endpoint
  2. Authentication
  3. Parameters
  4. Request body
  5. Example
  6. Responses
  7. 4XX application/json response schema
  8. 200 application/json response schema
  9. Response example
  10. Errors
  11. Related operations