Credentials
Store the secrets your data sources and connections sign in with, and list the options a data source's vendor offers.
x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
limit?integerMaximum items per page (1–100, default 25)
1 <= value <= 10025cursor?stringOpaque cursor from a prior nextCursor
sort?stringSort order: "-field" descending, "field" ascending. Accepted: name, -name, createdAt, -createdAt, updatedAt, -updatedAt (default -updatedAt)
A page of credentials for the organization, most-recently-updated first. Items carry health only when the request includes ?include=health.
application/json- response
items*array<>pagination*sort*filters*facets?Value/count breakdown for each field requested via ?facets=. Present only when facets were requested.
included?curl -X GET 'https://api.nuvelics.com/api/tenant/v1/credentials'{ "items": [ { "id": "string", "name": "string", "schemeType": "string", "config": { "in": "string", "name": "string", "preset": { "id": "string", "public": { "property1": "string", "property2": "string" } } }, "version": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "health": { "status": "healthy", "lastError": "string", "lastCheckedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "fundingStatus": "ok" } } ], "pagination": { "nextCursor": "string" }, "sort": { "applied": "string", "default": "string", "available": [ "string" ] }, "filters": { "applied": { "property1": null, "property2": null }, "available": [ { "field": "string", "kind": "string", "facetable": true } ] }, "facets": { "property1": { "values": [ { "value": "string", "count": 0 } ], "capped": true }, "property2": { "values": [ { "value": "string", "count": 0 } ], "capped": true } }, "included": { "datasources": { "property1": { "id": "string", "name": "string", "type": "string", "vendor": "datafactory", "iconId": "string" }, "property2": { "id": "string", "name": "string", "type": "string", "vendor": "datafactory", "iconId": "string" } }, "credentials": { "property1": { "id": "string", "name": "string", "schemeType": "string" }, "property2": { "id": "string", "name": "string", "schemeType": "string" } }, "users": { "property1": { "id": "string", "name": "string", "email": "string" }, "property2": { "id": "string", "name": "string", "email": "string" } }, "articlePitches": { "property1": [ { "id": "string", "title": "string", "status": "string", "newsdeskId": "string" } ], "property2": [ { "id": "string", "title": "string", "status": "string", "newsdeskId": "string" } ] } }}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
application/json- body
name*stringCredential display name
1 <= lengthscheme*|||||preset?stringId of the vendor preset the scheme was packed from; the server derives the non-secret field values from the scheme itself
1 <= lengthCredential created
application/json- response
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$name*stringCredential display name
1 <= lengthschemeType*stringScheme type discriminator (apiKey, http-basic, http-bearer, oauth2ClientCredentials, oauth2Password, oauth2AuthorizationCode)
config*|||Non-secret descriptor; never contains secret material
version*integerMonotonic row version; used as concurrency token
createdAt*stringISO 8601 creation timestamp
date-timeupdatedAt*stringISO 8601 last-modified timestamp
date-timecurl -X POST 'https://api.nuvelics.com/api/tenant/v1/credentials' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "scheme": { "type": "apiKey", "in": "header", "name": "string", "value": "string" }}'{ "id": "string", "name": "string", "schemeType": "string", "config": { "in": "string", "name": "string", "preset": { "id": "string", "public": { "property1": "string", "property2": "string" } } }, "version": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$Credential found
application/json- response
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$name*stringCredential display name
1 <= lengthschemeType*stringScheme type discriminator (apiKey, http-basic, http-bearer, oauth2ClientCredentials, oauth2Password, oauth2AuthorizationCode)
config*|||Non-secret descriptor; never contains secret material
version*integerMonotonic row version; used as concurrency token
createdAt*stringISO 8601 creation timestamp
date-timeupdatedAt*stringISO 8601 last-modified timestamp
date-timehealth*Health of a credential from the most recent harvest auth check, null when never checked
curl -X GET 'https://api.nuvelics.com/api/tenant/v1/credentials/string'{ "id": "string", "name": "string", "schemeType": "string", "config": { "in": "string", "name": "string", "preset": { "id": "string", "public": { "property1": "string", "property2": "string" } } }, "version": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "health": { "status": "healthy", "lastError": "string", "lastCheckedAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "fundingStatus": "ok" }}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$application/json- body
name?stringNew credential display name
1 <= lengthscheme?|||||preset?stringId of the vendor preset the new scheme was packed from; only meaningful alongside scheme
1 <= lengthCredential updated
application/json- response
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$name*stringCredential display name
1 <= lengthschemeType*stringScheme type discriminator (apiKey, http-basic, http-bearer, oauth2ClientCredentials, oauth2Password, oauth2AuthorizationCode)
config*|||Non-secret descriptor; never contains secret material
version*integerMonotonic row version; used as concurrency token
createdAt*stringISO 8601 creation timestamp
date-timeupdatedAt*stringISO 8601 last-modified timestamp
date-timecurl -X PATCH 'https://api.nuvelics.com/api/tenant/v1/credentials/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "name": "string", "schemeType": "string", "config": { "in": "string", "name": "string", "preset": { "id": "string", "public": { "property1": "string", "property2": "string" } } }, "version": 0, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$Credential deleted
curl -X DELETE 'https://api.nuvelics.com/api/tenant/v1/credentials/string'x-api-key<token>A service key (nvs_...) in the x-api-key header. A service key belongs to one organization: an X-Org-Id header is optional and, when sent, must name that organization. This header also accepts any credential the bearer scheme does, and when a request sends both headers, this one is used.
id*stringCredential identifier
^[0-7][0-9A-HJKMNP-TV-Z]{25}$paramHints?The form's current param values, one param.<name>=<value> query entry per param (for example param.profile=watchlist). A narrowing hint a vendor may use, never a filter the route enforces.
vendor?stringThe vendor the caller wants options for. A credential of any other vendor is refused with a 422 before the vendor is called.
1 <= lengthThe values the credential's vendor offers for its discoverable datasource params, keyed by param name, fetched fresh from the vendor on every call
application/json- response
vendor*stringThe vendor whose options these are
params*Discovered options, keyed by param name
curl -X GET 'https://api.nuvelics.com/api/tenant/v1/credentials/string/param-options'{ "vendor": "string", "params": { "property1": [ { "value": "string", "label": "string", "group": "string", "depth": 0, "selectable": true, "note": "string" } ], "property2": [ { "value": "string", "label": "string", "group": "string", "depth": 0, "selectable": true, "note": "string" } ] }}