Get one destination
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/destinations/{id} \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/destinations/{id}', 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}/destinations/{id}"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"destination": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"dataset_filter": "<string>",
"enabled": 0,
"created_at": "2023-11-07T05:31:56Z",
"timeout_seconds": 15,
"max_per_second": 500.05,
"max_concurrency": 50,
"retry_strategy": "default",
"retry_max_attempts": 25,
"retry_window_seconds": 302430,
"retry_interval_seconds": 1800,
"circuit_threshold": 501,
"alert_email": 0,
"alert_slack_destination_id": "<string>",
"circuit_failures": 123,
"circuit_opened_at": "2023-11-07T05:31:56Z",
"circuit_probe_at": "2023-11-07T05:31:56Z",
"previous_secret_expires_at": "2023-11-07T05:31:56Z",
"type": "webhook",
"config": {
"webhook_url": "<string>",
"endpoint": "<string>",
"region": "<string>",
"bucket": "<string>",
"prefix": "<string>",
"access_key_id": "<string>",
"queue_url": "<string>",
"fifo": true,
"project_id": "<string>",
"topic": "<string>",
"service_account_email": "<string>"
},
"secrets_set": [
"webhook_url"
]
}
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}Destinations
Get one destination
The object as one row of the list returns it, or 404. Endpoint URLs embedded in the destination settings are replaced by endpoint:<id> for read-only callers. Readable by any role.
GET
/
admin
/
api
/
projects
/
{project_id}
/
destinations
/
{id}
Get one destination
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/destinations/{id} \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/destinations/{id}', 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}/destinations/{id}"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"destination": {
"id": "<string>",
"name": "<string>",
"url": "<string>",
"dataset_filter": "<string>",
"enabled": 0,
"created_at": "2023-11-07T05:31:56Z",
"timeout_seconds": 15,
"max_per_second": 500.05,
"max_concurrency": 50,
"retry_strategy": "default",
"retry_max_attempts": 25,
"retry_window_seconds": 302430,
"retry_interval_seconds": 1800,
"circuit_threshold": 501,
"alert_email": 0,
"alert_slack_destination_id": "<string>",
"circuit_failures": 123,
"circuit_opened_at": "2023-11-07T05:31:56Z",
"circuit_probe_at": "2023-11-07T05:31:56Z",
"previous_secret_expires_at": "2023-11-07T05:31:56Z",
"type": "webhook",
"config": {
"webhook_url": "<string>",
"endpoint": "<string>",
"region": "<string>",
"bucket": "<string>",
"prefix": "<string>",
"access_key_id": "<string>",
"queue_url": "<string>",
"fifo": true,
"project_id": "<string>",
"topic": "<string>",
"service_account_email": "<string>"
},
"secrets_set": [
"webhook_url"
]
}
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>",
"reason": "<string>",
"code": "agent_scope_insufficient",
"required_scope": "hookie:read",
"granted_scopes": [
"<string>"
],
"manage_url": "<string>",
"scheme": "<string>",
"max_members": 123,
"members": 123,
"customer_id": "<string>",
"customer_name": "<string>",
"account_id": "<string>",
"terms_version": "<string>",
"claim_required": true
}Authorizations
sessionbearerAuthapiKey