Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ partial void ProcessGetApiKeyResponseContent(

/// <summary>
/// List api_keys<br/>
/// List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
/// List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.<br/>
/// To create new API keys, go to [**Settings &gt; API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down Expand Up @@ -112,7 +113,8 @@ partial void ProcessGetApiKeyResponseContent(
}
/// <summary>
/// List api_keys<br/>
/// List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
/// List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.<br/>
/// To create new API keys, go to [**Settings &gt; API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public partial interface IApiKeysClient
{
/// <summary>
/// List api_keys<br/>
/// List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
/// List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.<br/>
/// To create new API keys, go to [**Settings &gt; API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down Expand Up @@ -42,7 +43,8 @@ public partial interface IApiKeysClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List api_keys<br/>
/// List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first
/// List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.<br/>
/// To create new API keys, go to [**Settings &gt; API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public partial interface IOrganizationsClient
{
/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -19,7 +20,8 @@ public partial interface IOrganizationsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -32,7 +34,8 @@ public partial interface IOrganizationsClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="inviteUsers">
/// Users to invite to the organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public partial interface IServiceTokensClient
{
/// <summary>
/// List service_tokens<br/>
/// List out all service_tokens. The service_tokens are sorted by creation date, with the most recently-created service_tokens coming first
/// List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.<br/>
/// To create service tokens, organization owners can go to [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down Expand Up @@ -42,7 +43,8 @@ public partial interface IServiceTokensClient
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
/// List service_tokens<br/>
/// List out all service_tokens. The service_tokens are sorted by creation date, with the most recently-created service_tokens coming first
/// List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.<br/>
/// To create service tokens, organization owners can go to [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class PatchOrganizationMembersInviteUsers
public global::System.Collections.Generic.IList<string>? Emails { get; set; }

/// <summary>
/// Service accounts to create
/// Service accounts to create. Users with organization-owner permissions can create service accounts via the API, but the service tokens required to authenticate those accounts must be created in the Braintrust UI.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("service_accounts")]
public global::System.Collections.Generic.IList<global::Braintrust.PatchOrganizationMembersInviteUsersServiceAccount>? ServiceAccounts { get; set; }
Expand Down Expand Up @@ -72,7 +72,7 @@ public sealed partial class PatchOrganizationMembersInviteUsers
/// Emails of users to invite
/// </param>
/// <param name="serviceAccounts">
/// Service accounts to create
/// Service accounts to create. Users with organization-owner permissions can create service accounts via the API, but the service tokens required to authenticate those accounts must be created in the Braintrust UI.
/// </param>
/// <param name="sendInviteEmails">
/// If true, send invite emails to the users who wore actually added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public sealed partial class PatchOrganizationMembersInviteUsersServiceAccount
public required string Name { get; set; }

/// <summary>
///
/// Omit this field and create the token in the Braintrust UI ([**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens)). If you include this field, the API call will return a 403.
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("token_name")]
public string? TokenName { get; set; }
Expand All @@ -31,7 +31,9 @@ public sealed partial class PatchOrganizationMembersInviteUsersServiceAccount
/// Initializes a new instance of the <see cref="PatchOrganizationMembersInviteUsersServiceAccount" /> class.
/// </summary>
/// <param name="name"></param>
/// <param name="tokenName"></param>
/// <param name="tokenName">
/// Omit this field and create the token in the Braintrust UI ([**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens)). If you include this field, the API call will return a 403.
/// </param>
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ partial void ProcessPatchOrganizationMembersResponseContent(

/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand All @@ -75,7 +76,8 @@ partial void ProcessPatchOrganizationMembersResponseContent(
}
/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="request"></param>
/// <param name="requestOptions">Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.</param>
Expand Down Expand Up @@ -638,7 +640,8 @@ partial void ProcessPatchOrganizationMembersResponseContent(
}
/// <summary>
/// Modify organization membership<br/>
/// Modify organization membership
/// Modify organization membership.<br/>
/// Organization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).
/// </summary>
/// <param name="inviteUsers">
/// Users to invite to the organization
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ partial void ProcessGetServiceTokenResponseContent(

/// <summary>
/// List service_tokens<br/>
/// List out all service_tokens. The service_tokens are sorted by creation date, with the most recently-created service_tokens coming first
/// List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.<br/>
/// To create service tokens, organization owners can go to [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down Expand Up @@ -112,7 +113,8 @@ partial void ProcessGetServiceTokenResponseContent(
}
/// <summary>
/// List service_tokens<br/>
/// List out all service_tokens. The service_tokens are sorted by creation date, with the most recently-created service_tokens coming first
/// List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.<br/>
/// To create service tokens, organization owners can go to [**Settings &gt; Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens) in the Braintrust UI.
/// </summary>
/// <param name="limit">
/// Limit the number of objects to return
Expand Down
11 changes: 6 additions & 5 deletions src/libs/Braintrust/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9618,14 +9618,15 @@
},
"token_name": {
"type": "string",
"nullable": true
"nullable": true,
"description": "Omit this field and create the token in the Braintrust UI ([**Settings > Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens)). If you include this field, the API call will return a 403."
}
},
"required": [
"name"
]
},
"description": "Service accounts to create"
"description": "Service accounts to create. Users with organization-owner permissions can create service accounts via the API, but the service tokens required to authenticate those accounts must be created in the Braintrust UI."
},
"send_invite_emails": {
"type": "boolean",
Expand Down Expand Up @@ -26284,7 +26285,7 @@
"tags": [
"Organizations"
],
"description": "Modify organization membership",
"description": "Modify organization membership.\n\nOrganization owners can use this endpoint to create service accounts, but service tokens for those accounts must be created in the Braintrust UI, at [**Settings > Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens).",
"summary": "Modify organization membership",
"security": [
{
Expand Down Expand Up @@ -26462,7 +26463,7 @@
"tags": [
"ApiKeys"
],
"description": "List out all api_keys. The api_keys are sorted by creation date, with the most recently-created api_keys coming first",
"description": "List out all API keys. They are sorted by creation date, with the most recently-created keys coming first.\n\nTo create new API keys, go to [**Settings > API keys**](https://www.braintrust.dev/app/~/configuration/org/api-keys) in the Braintrust UI.",
"summary": "List api_keys",
"security": [
{
Expand Down Expand Up @@ -27071,7 +27072,7 @@
"tags": [
"ServiceTokens"
],
"description": "List out all service_tokens. The service_tokens are sorted by creation date, with the most recently-created service_tokens coming first",
"description": "List out all service tokens. They are sorted by creation date, with the most recently-created tokens coming first.\n\nTo create service tokens, organization owners can go to [**Settings > Service tokens**](https://www.braintrust.dev/app/~/configuration/org/service-tokens) in the Braintrust UI.",
"summary": "List service_tokens",
"security": [
{
Expand Down