Skip to content

Probe a source connection live: check its credential and read one page of an entity

POST
/api/workspaces/{workspaceId}/connectors/{id}/probe
curl --request POST \
--url http://localhost:8080/api/workspaces/example/connectors/example/probe \
--header 'Content-Type: application/json' \
--cookie auth_session=<auth_session> \
--data '{ "entity": "example", "limit": 1, "fields": [ "example" ], "since": "example" }'
workspaceId
required
string
id
required
string
Media typeapplication/json
object
entity

Entity to read one page of. Omit to check the credential only.

string
limit

Maximum records to return (default 20).

integer
>= 1 <= 200
fields

Keep only these top-level fields of each record.

Array<string>
since

ISO 8601 instant: records changed since then, where the connector supports it.

string

Example generated

{
"entity": "example",
"limit": 1,
"fields": [
"example"
],
"since": "example"
}

Successful response

Media typeapplication/json
object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
error
string

Example

{
"message": "Operation completed",
"error": "Error message"
}

Invalid request

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}

Internal server error

Media typeapplication/json
object
success
boolean
error
string

Example

{
"error": "Error message"
}