curl --request PATCH \
--url https://api.galtea.ai/organizations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Example Organization",
"warningAt": 100,
"enforceMfa": true,
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": true,
"samlSignedAssertions": true,
"samlForcePasswordAuth": true,
"otelProductKey": [
"service.namespace",
"service.name"
],
"otelVersionAttributes": [
"service.version",
"app.agent.model"
],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}
'import requests
url = "https://api.galtea.ai/organizations/{id}"
payload = {
"name": "Example Organization",
"warningAt": 100,
"enforceMfa": True,
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": True,
"samlSignedAssertions": True,
"samlForcePasswordAuth": True,
"otelProductKey": ["service.namespace", "service.name"],
"otelVersionAttributes": ["service.version", "app.agent.model"],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Example Organization',
warningAt: 100,
enforceMfa: true,
samlEntrypointUrl: '<string>',
samlEntityId: '<string>',
samlIssuerId: '<string>',
samlPublicCertificate: '<string>',
samlSignedResponse: true,
samlSignedAssertions: true,
samlForcePasswordAuth: true,
otelProductKey: ['service.namespace', 'service.name'],
otelVersionAttributes: ['service.version', 'app.agent.model'],
otelInputSourceRule: {
spanName: 'ExecuteActivity:add_user_message',
attribute: 'app.arguments',
path: '$[0].message.content',
predicate: {path: '$[0].message.role', equals: 'user'}
},
otelOutputSourceRule: {
spanName: 'ExecuteActivity:save_reply',
attribute: 'app.arguments',
path: '$[0].message.content',
predicate: {path: '$[0].message.role', equals: 'assistant'}
}
})
};
fetch('https://api.galtea.ai/organizations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.galtea.ai/organizations/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Example Organization',
'warningAt' => 100,
'enforceMfa' => true,
'samlEntrypointUrl' => '<string>',
'samlEntityId' => '<string>',
'samlIssuerId' => '<string>',
'samlPublicCertificate' => '<string>',
'samlSignedResponse' => true,
'samlSignedAssertions' => true,
'samlForcePasswordAuth' => true,
'otelProductKey' => [
'service.namespace',
'service.name'
],
'otelVersionAttributes' => [
'service.version',
'app.agent.model'
],
'otelInputSourceRule' => [
'spanName' => 'ExecuteActivity:add_user_message',
'attribute' => 'app.arguments',
'path' => '$[0].message.content',
'predicate' => [
'path' => '$[0].message.role',
'equals' => 'user'
]
],
'otelOutputSourceRule' => [
'spanName' => 'ExecuteActivity:save_reply',
'attribute' => 'app.arguments',
'path' => '$[0].message.content',
'predicate' => [
'path' => '$[0].message.role',
'equals' => 'assistant'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.galtea.ai/organizations/{id}"
payload := strings.NewReader("{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.galtea.ai/organizations/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.galtea.ai/organizations/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "org_123",
"name": "Example Organization",
"remainingSubscriptionCredits": 1000,
"extraCredits": 500,
"lastWarningAt": "2023-11-07T05:31:56Z",
"warningAt": 100,
"stripeCustomerId": "cus_123",
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": true,
"samlSignedAssertions": true,
"samlForcePasswordAuth": true,
"samlTeamSlug": "<string>",
"enforceMfa": false,
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"otelProductKey": [
"service.namespace",
"service.name"
],
"otelVersionAttributes": [
"service.version",
"app.agent.model"
],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}Update organization
Update an existing organization. Send only the fields you change: an absent field keeps its value, and null clears a field that may be null. An owner may change warningAt, enforceMfa, the SAML settings and the OpenTelemetry settings; only a platform admin may rename the organization. Changing the set of attributes of otelProductKey is refused with 409 while a live product that uses the key holds key values; reordering the same attributes is allowed. See Platform Overview.
curl --request PATCH \
--url https://api.galtea.ai/organizations/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Example Organization",
"warningAt": 100,
"enforceMfa": true,
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": true,
"samlSignedAssertions": true,
"samlForcePasswordAuth": true,
"otelProductKey": [
"service.namespace",
"service.name"
],
"otelVersionAttributes": [
"service.version",
"app.agent.model"
],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}
'import requests
url = "https://api.galtea.ai/organizations/{id}"
payload = {
"name": "Example Organization",
"warningAt": 100,
"enforceMfa": True,
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": True,
"samlSignedAssertions": True,
"samlForcePasswordAuth": True,
"otelProductKey": ["service.namespace", "service.name"],
"otelVersionAttributes": ["service.version", "app.agent.model"],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Example Organization',
warningAt: 100,
enforceMfa: true,
samlEntrypointUrl: '<string>',
samlEntityId: '<string>',
samlIssuerId: '<string>',
samlPublicCertificate: '<string>',
samlSignedResponse: true,
samlSignedAssertions: true,
samlForcePasswordAuth: true,
otelProductKey: ['service.namespace', 'service.name'],
otelVersionAttributes: ['service.version', 'app.agent.model'],
otelInputSourceRule: {
spanName: 'ExecuteActivity:add_user_message',
attribute: 'app.arguments',
path: '$[0].message.content',
predicate: {path: '$[0].message.role', equals: 'user'}
},
otelOutputSourceRule: {
spanName: 'ExecuteActivity:save_reply',
attribute: 'app.arguments',
path: '$[0].message.content',
predicate: {path: '$[0].message.role', equals: 'assistant'}
}
})
};
fetch('https://api.galtea.ai/organizations/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.galtea.ai/organizations/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Example Organization',
'warningAt' => 100,
'enforceMfa' => true,
'samlEntrypointUrl' => '<string>',
'samlEntityId' => '<string>',
'samlIssuerId' => '<string>',
'samlPublicCertificate' => '<string>',
'samlSignedResponse' => true,
'samlSignedAssertions' => true,
'samlForcePasswordAuth' => true,
'otelProductKey' => [
'service.namespace',
'service.name'
],
'otelVersionAttributes' => [
'service.version',
'app.agent.model'
],
'otelInputSourceRule' => [
'spanName' => 'ExecuteActivity:add_user_message',
'attribute' => 'app.arguments',
'path' => '$[0].message.content',
'predicate' => [
'path' => '$[0].message.role',
'equals' => 'user'
]
],
'otelOutputSourceRule' => [
'spanName' => 'ExecuteActivity:save_reply',
'attribute' => 'app.arguments',
'path' => '$[0].message.content',
'predicate' => [
'path' => '$[0].message.role',
'equals' => 'assistant'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.galtea.ai/organizations/{id}"
payload := strings.NewReader("{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.galtea.ai/organizations/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.galtea.ai/organizations/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Example Organization\",\n \"warningAt\": 100,\n \"enforceMfa\": true,\n \"samlEntrypointUrl\": \"<string>\",\n \"samlEntityId\": \"<string>\",\n \"samlIssuerId\": \"<string>\",\n \"samlPublicCertificate\": \"<string>\",\n \"samlSignedResponse\": true,\n \"samlSignedAssertions\": true,\n \"samlForcePasswordAuth\": true,\n \"otelProductKey\": [\n \"service.namespace\",\n \"service.name\"\n ],\n \"otelVersionAttributes\": [\n \"service.version\",\n \"app.agent.model\"\n ],\n \"otelInputSourceRule\": {\n \"spanName\": \"ExecuteActivity:add_user_message\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"user\"\n }\n },\n \"otelOutputSourceRule\": {\n \"spanName\": \"ExecuteActivity:save_reply\",\n \"attribute\": \"app.arguments\",\n \"path\": \"$[0].message.content\",\n \"predicate\": {\n \"path\": \"$[0].message.role\",\n \"equals\": \"assistant\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "org_123",
"name": "Example Organization",
"remainingSubscriptionCredits": 1000,
"extraCredits": 500,
"lastWarningAt": "2023-11-07T05:31:56Z",
"warningAt": 100,
"stripeCustomerId": "cus_123",
"samlEntrypointUrl": "<string>",
"samlEntityId": "<string>",
"samlIssuerId": "<string>",
"samlPublicCertificate": "<string>",
"samlSignedResponse": true,
"samlSignedAssertions": true,
"samlForcePasswordAuth": true,
"samlTeamSlug": "<string>",
"enforceMfa": false,
"createdAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z",
"otelProductKey": [
"service.namespace",
"service.name"
],
"otelVersionAttributes": [
"service.version",
"app.agent.model"
],
"otelInputSourceRule": {
"spanName": "ExecuteActivity:add_user_message",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "user"
}
},
"otelOutputSourceRule": {
"spanName": "ExecuteActivity:save_reply",
"attribute": "app.arguments",
"path": "$[0].message.content",
"predicate": {
"path": "$[0].message.role",
"equals": "assistant"
}
}
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}{
"error": "Error type",
"message": "Error message description"
}Authorizations
API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....
Path Parameters
Organization ID
"org_123"
Body
The organization name. Only a platform admin may change it.
"Example Organization"
The credit balance below which members get a low-credit warning, from 0 up to the monthly credits of the plan. Null turns the warning off.
100
When true, every member of the organization must complete an MFA challenge to sign in.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
An in-house SAML sign-in setting. Only an organization with an ENTERPRISE subscription may change it.
The resource attributes that identify a product of this organization, 1 to 10 names. Each product gives its own value for each of them. A name cannot start with "galtea." or be "customer.id". Changing the set of names is refused while a product that uses this key holds values. It cannot be null.
["service.namespace", "service.name"]
The resource attributes whose values make up a version, up to 32 names. A trace that carries no galtea.version.id and no galtea.version.fact.* gets the version built from the listed attributes it carries. Each fact keeps the attribute name as its key. A name cannot start with "galtea." or be "customer.id". An empty list turns this off. A product can replace the list with its own.
["service.version", "app.agent.model"]
Recovers a turn's input from a non-LLM span for every product with no rule of its own. A version rule wins over a product rule, and a product rule over this one. Null clears it.
Show child attributes
Show child attributes
{ "spanName": "ExecuteActivity:add_user_message", "attribute": "app.arguments", "path": "$[0].message.content", "predicate": { "path": "$[0].message.role", "equals": "user" } }
Recovers a turn's output from a non-LLM span for every product with no rule of its own. A version rule wins over a product rule, and a product rule over this one. Null clears it.
Show child attributes
Show child attributes
{ "spanName": "ExecuteActivity:save_reply", "attribute": "app.arguments", "path": "$[0].message.content", "predicate": { "path": "$[0].message.role", "equals": "assistant" } }
Response
Organization updated successfully
"org_123"
"Example Organization"
1000
500
The credit balance below which members get a low-credit warning, from 0 up to the monthly credits of the plan. Null turns the warning off.
100
"cus_123"
When true, every member of the organization must complete an MFA challenge to sign in. Settable by Owners (via update) and Admins (via create or update).
The resource attributes that identify a product of this organization, 1 to 10 names. Each product gives its own value for each of them. A name cannot start with "galtea." or be "customer.id". Changing the set of names is refused while a product that uses this key holds values. It cannot be null.
["service.namespace", "service.name"]
The resource attributes whose values make up a version, up to 32 names. A trace that carries no galtea.version.id and no galtea.version.fact.* gets the version built from the listed attributes it carries. Each fact keeps the attribute name as its key. A name cannot start with "galtea." or be "customer.id". An empty list turns this off. A product can replace the list with its own.
["service.version", "app.agent.model"]
Recovers a turn's input from a non-LLM span for every product with no rule of its own. A version rule wins over a product rule, and a product rule over this one. Null clears it.
Show child attributes
Show child attributes
Recovers a turn's output from a non-LLM span for every product with no rule of its own. A version rule wins over a product rule, and a product rule over this one. Null clears it.
Show child attributes
Show child attributes