Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.forge.ai/api/headless/v1/organizations/{organizationId}/resources/{resourceId}/credentials/{credentialId} \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.forge.ai/api/headless/v1/organizations/{organizationId}/resources/{resourceId}/credentials/{credentialId}" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.forge.ai/api/headless/v1/organizations/{organizationId}/resources/{resourceId}/credentials/{credentialId}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.forge.ai/api/headless/v1/organizations/{organizationId}/resources/{resourceId}/credentials/{credentialId}" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "id": "<string>", "organizationId": "<string>", "resourceId": "<string>", "name": "<string>", "kind": "none", "default": true, "assignedTo": { "users": [ "<string>" ], "groups": [ "<string>" ], "serviceAccounts": [ "<string>" ] }, "managementMode": "forge", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "username": "<string>", "headerName": "<string>", "authentication": { "region": "<string>", "roleArn": "<string>", "tokenEndpoint": "<string>", "clientId": "<string>", "scopes": [ "<string>" ], "audience": "<string>" }, "managerId": "<string>", "managerInstance": "<string>", "lastUsedAt": "2023-11-07T05:31:56Z", "rotatedAt": "2023-11-07T05:31:56Z" }
{ "message": "<string>" }
Enter a Forge service-account token or delegated OAuth access token. Mintlify adds the Bearer prefix.
Resource credential metadata without the secret value.
none
username_password
bearer_token
header
aws_rds_iam
oauth2_client_credentials
oauth2_token_exchange
Show child attributes
forge
terraform