List inbound source connectors in a project
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/sources \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/sources"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"sources": [
{
"id": "<string>",
"name": "<string>",
"type": "postgres",
"dataset": "<string>",
"cursor_column": "<string>",
"last_cursor": "<string>",
"poll_interval": 123,
"enabled": 0,
"last_run_at": "<string>",
"last_error": "<string>",
"created_at": "<string>"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Sources
List inbound source connectors in a project
GET
/
admin
/
api
/
projects
/
{project_id}
/
sources
List inbound source connectors in a project
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/sources \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/sources', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/sources"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"sources": [
{
"id": "<string>",
"name": "<string>",
"type": "postgres",
"dataset": "<string>",
"cursor_column": "<string>",
"last_cursor": "<string>",
"poll_interval": 123,
"enabled": 0,
"last_run_at": "<string>",
"last_error": "<string>",
"created_at": "<string>"
}
]
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Authorizations
sessionbearerAuth
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Path Parameters
Project id (UUID). Must belong to the caller's workspace.
Response
Sources, newest first. The encrypted config column is never returned.
Show child attributes
Show child attributes