Skip to content

Commit 0394af6

Browse files
feat(openapi): add Langfuse credential support and new voice IDs (#39)
This commit adds support for Langfuse credentials, including the required fields (`provider`, `publicKey`, `apiKey`, `apiUrl`) and the unique identifiers (`id` and `orgId`). It also introduces new voice IDs: `ash`, `ballad`, `coral`, `sage`, and `verse`, which are exclusive to the `gpt-4o-realtime-preview-2024-10-01` model. Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 50de519 commit 0394af6

File tree

1 file changed

+116
-2
lines changed

1 file changed

+116
-2
lines changed

fern/apis/api/openapi.json

Lines changed: 116 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6379,14 +6379,19 @@
63796379
]
63806380
},
63816381
"voiceId": {
6382-
"description": "This is the provider-specific ID that will be used.",
6382+
"description": "This is the provider-specific ID that will be used.\nPlease note that ash, ballad, coral, sage, and verse may only be used with the `gpt-4o-realtime-preview-2024-10-01` model.",
63836383
"enum": [
63846384
"alloy",
63856385
"echo",
63866386
"fable",
63876387
"onyx",
63886388
"nova",
6389-
"shimmer"
6389+
"shimmer",
6390+
"ash",
6391+
"ballad",
6392+
"coral",
6393+
"sage",
6394+
"verse"
63906395
],
63916396
"oneOf": [
63926397
{
@@ -14054,6 +14059,57 @@
1405414059
"updatedAt"
1405514060
]
1405614061
},
14062+
"LangfuseCredential": {
14063+
"type": "object",
14064+
"properties": {
14065+
"provider": {
14066+
"type": "string",
14067+
"enum": [
14068+
"langfuse"
14069+
]
14070+
},
14071+
"publicKey": {
14072+
"type": "string",
14073+
"description": "The public key for Langfuse project. Eg: pk-lf-..."
14074+
},
14075+
"apiKey": {
14076+
"type": "string",
14077+
"description": "The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API."
14078+
},
14079+
"apiUrl": {
14080+
"type": "string",
14081+
"description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com"
14082+
},
14083+
"id": {
14084+
"type": "string",
14085+
"description": "This is the unique identifier for the credential."
14086+
},
14087+
"orgId": {
14088+
"type": "string",
14089+
"description": "This is the unique identifier for the org that this credential belongs to."
14090+
},
14091+
"createdAt": {
14092+
"format": "date-time",
14093+
"type": "string",
14094+
"description": "This is the ISO 8601 date-time string of when the credential was created."
14095+
},
14096+
"updatedAt": {
14097+
"format": "date-time",
14098+
"type": "string",
14099+
"description": "This is the ISO 8601 date-time string of when the assistant was last updated."
14100+
}
14101+
},
14102+
"required": [
14103+
"provider",
14104+
"publicKey",
14105+
"apiKey",
14106+
"apiUrl",
14107+
"id",
14108+
"orgId",
14109+
"createdAt",
14110+
"updatedAt"
14111+
]
14112+
},
1405714113
"LmntCredential": {
1405814114
"type": "object",
1405914115
"properties": {
@@ -15090,6 +15146,35 @@
1509015146
"apiKey"
1509115147
]
1509215148
},
15149+
"CreateLangfuseCredentialDTO": {
15150+
"type": "object",
15151+
"properties": {
15152+
"provider": {
15153+
"type": "string",
15154+
"enum": [
15155+
"langfuse"
15156+
]
15157+
},
15158+
"publicKey": {
15159+
"type": "string",
15160+
"description": "The public key for Langfuse project. Eg: pk-lf-..."
15161+
},
15162+
"apiKey": {
15163+
"type": "string",
15164+
"description": "The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API."
15165+
},
15166+
"apiUrl": {
15167+
"type": "string",
15168+
"description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com"
15169+
}
15170+
},
15171+
"required": [
15172+
"provider",
15173+
"publicKey",
15174+
"apiKey",
15175+
"apiUrl"
15176+
]
15177+
},
1509315178
"CreateLmntCredentialDTO": {
1509415179
"type": "object",
1509515180
"properties": {
@@ -15784,6 +15869,35 @@
1578415869
"apiKey"
1578515870
]
1578615871
},
15872+
"UpdateLangfuseCredentialDTO": {
15873+
"type": "object",
15874+
"properties": {
15875+
"provider": {
15876+
"type": "string",
15877+
"enum": [
15878+
"langfuse"
15879+
]
15880+
},
15881+
"publicKey": {
15882+
"type": "string",
15883+
"description": "The public key for Langfuse project. Eg: pk-lf-..."
15884+
},
15885+
"apiKey": {
15886+
"type": "string",
15887+
"description": "The secret key for Langfuse project. Eg: sk-lf-... .This is not returned in the API."
15888+
},
15889+
"apiUrl": {
15890+
"type": "string",
15891+
"description": "The host URL for Langfuse project. Eg: https://cloud.langfuse.com"
15892+
}
15893+
},
15894+
"required": [
15895+
"provider",
15896+
"publicKey",
15897+
"apiKey",
15898+
"apiUrl"
15899+
]
15900+
},
1578715901
"UpdateLmntCredentialDTO": {
1578815902
"type": "object",
1578915903
"properties": {

0 commit comments

Comments
 (0)