Skip to main content
POST
/
poweredby
/
jobs
Generate Jobs URL
curl --request POST \
  --url https://cloud.cdata.com/api/poweredby/jobs \
  --header 'Authorization: Bearer <token>'
{
  "redirectURL": "https://cloud.cdata.com/oem/user/jobs?token=eyJhbGciOiJSUzI1NiIsImtpZCI6IlNJdTlCdjVjWU1HMDRMYW84YXh3T0E2Nlk5UVlBV0dQd05YeTA5Q1hlY3MiLCJ0eXAiOiJKV1QifQ.eyJzdWIiOiJmZWUxY2U5ZC1jNDBjLTRlZjYtOGY4Yy03NzQ2MTMxNTcxM2QiLCJ0b2tlblR5cGUiOiJwb3dlcmVkLWJ5Iiwib2VtQWRtaW5BY2NvdW50SWQiOiJkZWUxZmVlZC1jNDBjLTRlZjYtOGY4Yy03NzQ2MTMxNTcxM2QiLCJvZW1TdWJBY2NvdW50SWQiOiJmZWUxY2U5ZC1jNDBjLTRlZjYtOGY4Yy03NzQ2MTMxNTcxM2QiLCJmbG93VHlwZSI6ImpvYnMiLCJhY2NvdW50SWQiOiJmZWUxY2U5ZC1jNDBjLTRlZjYtOGY4Yy03NzQ2MTMxNTcxM2QiLCJodHRwczovL2Nsb3VkLmNkYXRhLmNvbS9jbGFpbXMvYWNjb3VudF9uYW1lIjoiQ0RhdGFPRU1Vc2VyIiwiaHR0cHM6Ly9jbG91ZC5jZGF0YS5jb20vY2xhaW1zL3VzZXJfdHlwZSI6IjAiLCJodHRwczovL2Nsb3VkLmNkYXRhLmNvbS9jbGFpbXMvdXNlcl9pZCI6IjRiYmJiYmJiLTNjNWMtNTZmOC1hYWU0LWI5ODdkOGVhMzk3YSIsIm5hbWUiOiJPRU1TdWJBY2NvdW50VXNlciBDb25uZWN0Q2xvdWQiLCJlbWFpbCI6Im9lbS00YmJiYmJiYi0zYzVjLTU2ZjgtYWFlNC1iOTg3ZDhlYTM5N2FAZmFrZWVtYWlsLmNvbSIsImNvbm5lY3Rpb25JZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsIm5iZiI6MTc2NzEyMDM5MiwiZXhwIjoxNzY3MTIwNTcyLCJpc3MiOiJjZGF0YS5jb25uZWN0LmFjY291bnRzZXJ2aWNlIiwiYXVkIjoiY2RhdGEuY29ubmVjdC5vZW0ifQ.S7UtQ3qlgeogzYRnNQQA1rtsyR-G-SfXNVRzCJayg2eL3qaWahIOjJCTZYyfNAWkKyh5RRtxfyhJOgGm0AMf9xaltvl04AOMJILJWcinnptcIhEFeetGnrJEdT6nOVhpj2o7wGv28Nv395a2wv6Ns4z7IT-0rzbVa8UU9jqu3zANw5FoqIm7kr1SILVPpsan-q4yFjf-MBIzfswGB4EfWylc894nO9IThnZxfjCL0-XOzxnRI8o1gj2zlJM5inizoEGxFlTzpuhmt0ArMFlESOdze4dJUP6JmFcPJ-9v2fiEraX_QP-lWeujcxz386Qtk37sd08l-BhZITLR8iXqmA"
}
This endpoint returns a redirect URL scoped to a subaccount, allowing Connect AI Embed administrators or subaccount users to manage cache connections and jobs through CData’s co-branded visual interface. If you have not already done so, you must set up a PostgreSQL data warehouse for your cached data. Click Set Up Data Warehouse to view the Add Connection page for PostgreSQL. Follow the instructions. Once you have a data warehouse set up, click Add Job to add a cache job. Follow the steps in the Add Jobs wizard to schedule the job. See Add a Cache Job for detailed instructions. Note that when you enable caching of data, Connect AI Embed runs database queries against the cached data, not the live data. See Caching for a complete overview of the Caching feature.

Authorizations

Authorization
string
header
required

JWT token authentication. Include the token in the Authorization header as Bearer {token}. See Authentication for more information on creating a token.

Response

200 - application/json

A string containing the URL to redirect the user to.

redirectURL
string
required

A string containing the CData-hosted connection URL to redirect the user to.