curl --request PUT \
--url https://api.pulze.ai/v1/orgs/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prom": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
},
"loki": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
}
}'
{
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_cost": 0,
"completion_tokens_cost": 0,
"total_tokens_cost": 0,
"prompt_tokens_cost_savings": 0,
"completion_tokens_cost_savings": 0,
"total_tokens_cost_savings": 0,
"num_requests": 0,
"num_apps": 0,
"org_stripe_id": "<string>",
"spaces_subscription_tier": "INTERNAL",
"spaces_subscription_seats": 123,
"spaces_subscription_status": "active",
"spaces_subscription_cancel_at": 123,
"last_invoice_date": 123,
"subscription_pause_reason": {
"invoices": [
{
"invoice_id": "<string>",
"invoice_number": "<string>",
"amount": 123,
"timestamp": 123,
"pause_reason": "<string>",
"invoice_name": "<string>",
"payment_link": "<string>",
"severity": 1
}
]
},
"subscription_cycle": "monthly",
"subscription_tier": "_NONE_",
"subscription_price_id": "<string>",
"trial_end": 123,
"currency": "usd",
"billing_email": "<string>",
"free_balance": 123,
"spending_limit_soft": 123,
"spending_limit_hard": 123,
"alert_emails": {
"soft_limit": "2023-11-07T05:31:56Z",
"hard_limit": "2023-11-07T05:31:56Z",
"payment_failed": "2023-11-07T05:31:56Z",
"usage_reset": "2023-11-07T05:31:56Z",
"usage_50": "2023-11-07T05:31:56Z",
"usage_80": "2023-11-07T05:31:56Z",
"usage_90": "2023-11-07T05:31:56Z",
"usage_100": "2023-11-07T05:31:56Z"
},
"org_name": "<string>",
"org_creator": "<string>",
"is_active": true,
"is_personal": false,
"org_display_name": "<string>",
"org_logo": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"address_city": "<string>",
"address_zip": "<string>",
"address_state": "<string>",
"address_country": "<string>",
"added_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"hubspot_id": "<string>",
"prom_id": "<string>",
"prom_token": "<string>",
"prom_endpoint": "<string>",
"loki_id": "<string>",
"loki_token": "<string>",
"loki_endpoint": "<string>",
"rate_limit": 200,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.pulze.ai/v1/orgs/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prom": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
},
"loki": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
}
}'
{
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_cost": 0,
"completion_tokens_cost": 0,
"total_tokens_cost": 0,
"prompt_tokens_cost_savings": 0,
"completion_tokens_cost_savings": 0,
"total_tokens_cost_savings": 0,
"num_requests": 0,
"num_apps": 0,
"org_stripe_id": "<string>",
"spaces_subscription_tier": "INTERNAL",
"spaces_subscription_seats": 123,
"spaces_subscription_status": "active",
"spaces_subscription_cancel_at": 123,
"last_invoice_date": 123,
"subscription_pause_reason": {
"invoices": [
{
"invoice_id": "<string>",
"invoice_number": "<string>",
"amount": 123,
"timestamp": 123,
"pause_reason": "<string>",
"invoice_name": "<string>",
"payment_link": "<string>",
"severity": 1
}
]
},
"subscription_cycle": "monthly",
"subscription_tier": "_NONE_",
"subscription_price_id": "<string>",
"trial_end": 123,
"currency": "usd",
"billing_email": "<string>",
"free_balance": 123,
"spending_limit_soft": 123,
"spending_limit_hard": 123,
"alert_emails": {
"soft_limit": "2023-11-07T05:31:56Z",
"hard_limit": "2023-11-07T05:31:56Z",
"payment_failed": "2023-11-07T05:31:56Z",
"usage_reset": "2023-11-07T05:31:56Z",
"usage_50": "2023-11-07T05:31:56Z",
"usage_80": "2023-11-07T05:31:56Z",
"usage_90": "2023-11-07T05:31:56Z",
"usage_100": "2023-11-07T05:31:56Z"
},
"org_name": "<string>",
"org_creator": "<string>",
"is_active": true,
"is_personal": false,
"org_display_name": "<string>",
"org_logo": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"address_city": "<string>",
"address_zip": "<string>",
"address_state": "<string>",
"address_country": "<string>",
"added_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"hubspot_id": "<string>",
"prom_id": "<string>",
"prom_token": "<string>",
"prom_endpoint": "<string>",
"loki_id": "<string>",
"loki_token": "<string>",
"loki_endpoint": "<string>",
"rate_limit": 200,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
curl --request PUT \
--url https://api.pulze.ai/v1/orgs/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prom": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
},
"loki": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
}
}'
{
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_cost": 0,
"completion_tokens_cost": 0,
"total_tokens_cost": 0,
"prompt_tokens_cost_savings": 0,
"completion_tokens_cost_savings": 0,
"total_tokens_cost_savings": 0,
"num_requests": 0,
"num_apps": 0,
"org_stripe_id": "<string>",
"spaces_subscription_tier": "INTERNAL",
"spaces_subscription_seats": 123,
"spaces_subscription_status": "active",
"spaces_subscription_cancel_at": 123,
"last_invoice_date": 123,
"subscription_pause_reason": {
"invoices": [
{
"invoice_id": "<string>",
"invoice_number": "<string>",
"amount": 123,
"timestamp": 123,
"pause_reason": "<string>",
"invoice_name": "<string>",
"payment_link": "<string>",
"severity": 1
}
]
},
"subscription_cycle": "monthly",
"subscription_tier": "_NONE_",
"subscription_price_id": "<string>",
"trial_end": 123,
"currency": "usd",
"billing_email": "<string>",
"free_balance": 123,
"spending_limit_soft": 123,
"spending_limit_hard": 123,
"alert_emails": {
"soft_limit": "2023-11-07T05:31:56Z",
"hard_limit": "2023-11-07T05:31:56Z",
"payment_failed": "2023-11-07T05:31:56Z",
"usage_reset": "2023-11-07T05:31:56Z",
"usage_50": "2023-11-07T05:31:56Z",
"usage_80": "2023-11-07T05:31:56Z",
"usage_90": "2023-11-07T05:31:56Z",
"usage_100": "2023-11-07T05:31:56Z"
},
"org_name": "<string>",
"org_creator": "<string>",
"is_active": true,
"is_personal": false,
"org_display_name": "<string>",
"org_logo": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"address_city": "<string>",
"address_zip": "<string>",
"address_state": "<string>",
"address_country": "<string>",
"added_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"hubspot_id": "<string>",
"prom_id": "<string>",
"prom_token": "<string>",
"prom_endpoint": "<string>",
"loki_id": "<string>",
"loki_token": "<string>",
"loki_endpoint": "<string>",
"rate_limit": 200,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.pulze.ai/v1/orgs/integrations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prom": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
},
"loki": {
"id": "<string>",
"token": "<string>",
"endpoint": "<string>"
}
}'
{
"prompt_tokens": 0,
"completion_tokens": 0,
"total_tokens": 0,
"prompt_tokens_cost": 0,
"completion_tokens_cost": 0,
"total_tokens_cost": 0,
"prompt_tokens_cost_savings": 0,
"completion_tokens_cost_savings": 0,
"total_tokens_cost_savings": 0,
"num_requests": 0,
"num_apps": 0,
"org_stripe_id": "<string>",
"spaces_subscription_tier": "INTERNAL",
"spaces_subscription_seats": 123,
"spaces_subscription_status": "active",
"spaces_subscription_cancel_at": 123,
"last_invoice_date": 123,
"subscription_pause_reason": {
"invoices": [
{
"invoice_id": "<string>",
"invoice_number": "<string>",
"amount": 123,
"timestamp": 123,
"pause_reason": "<string>",
"invoice_name": "<string>",
"payment_link": "<string>",
"severity": 1
}
]
},
"subscription_cycle": "monthly",
"subscription_tier": "_NONE_",
"subscription_price_id": "<string>",
"trial_end": 123,
"currency": "usd",
"billing_email": "<string>",
"free_balance": 123,
"spending_limit_soft": 123,
"spending_limit_hard": 123,
"alert_emails": {
"soft_limit": "2023-11-07T05:31:56Z",
"hard_limit": "2023-11-07T05:31:56Z",
"payment_failed": "2023-11-07T05:31:56Z",
"usage_reset": "2023-11-07T05:31:56Z",
"usage_50": "2023-11-07T05:31:56Z",
"usage_80": "2023-11-07T05:31:56Z",
"usage_90": "2023-11-07T05:31:56Z",
"usage_100": "2023-11-07T05:31:56Z"
},
"org_name": "<string>",
"org_creator": "<string>",
"is_active": true,
"is_personal": false,
"org_display_name": "<string>",
"org_logo": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"address_city": "<string>",
"address_zip": "<string>",
"address_state": "<string>",
"address_country": "<string>",
"added_on": "2023-11-07T05:31:56Z",
"modified_on": "2023-11-07T05:31:56Z",
"hubspot_id": "<string>",
"prom_id": "<string>",
"prom_token": "<string>",
"prom_endpoint": "<string>",
"loki_id": "<string>",
"loki_token": "<string>",
"loki_endpoint": "<string>",
"rate_limit": 200,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}