Skip to main content
POST
Search

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Path Parameters

app_id
string
required

App identifier (required).

connector_id
string
required

Connector ID (required).

Body

application/json

MCPResourceServiceSearchRequest searches MCP resources with filters.

includeGrantStatus
boolean

When true, the server populates the computed entitlement_active and grant_count fields on each returned row (an extra batched entitlement lookup per page). Off by default so callers that don't render grant status don't pay for it.

kindFilter
enum<string>[] | null

Optional filter by resource kind. An empty list means no filter.

Available options:
MCP_RESOURCE_KIND_UNSPECIFIED,
MCP_RESOURCE_KIND_STATIC,
MCP_RESOURCE_KIND_TEMPLATE
pageSize
integer<int32>

Page size (max 100).

pageToken
string

Page token for pagination.

query
string

Optional text query matched against name, title, description, and uri.

sortBy
enum<string>

Sort order for results. UNSPECIFIED sorts by resource name ascending.

Available options:
MCP_RESOURCE_SORT_BY_UNSPECIFIED,
MCP_RESOURCE_SORT_BY_NAME,
MCP_RESOURCE_SORT_BY_URI,
MCP_RESOURCE_SORT_BY_STATE,
MCP_RESOURCE_SORT_BY_UPDATED_AT
sortDirection
enum<string>

Direction for sort_by. UNSPECIFIED means ascending.

Available options:
SORT_DIRECTION_UNSPECIFIED,
SORT_DIRECTION_ASC,
SORT_DIRECTION_DESC
stateFilter
enum<string>[] | null

Optional filter by resource state. An empty list defaults to PENDING_REVIEW, APPROVED, and DISABLED (REMOVED is hidden unless explicitly requested).

Available options:
MCP_RESOURCE_STATE_UNSPECIFIED,
MCP_RESOURCE_STATE_PENDING_REVIEW,
MCP_RESOURCE_STATE_APPROVED,
MCP_RESOURCE_STATE_DISABLED,
MCP_RESOURCE_STATE_REMOVED

Response

200 - application/json

MCPResourceServiceSearchResponse returns matching MCP resources.

MCPResourceServiceSearchResponse returns matching MCP resources.

list
Mcp Resource · object[] | null

Matching MCP resources.

nextPageToken
string

Token for next page.