Create an Agent.
Create an Agent.
Request Body required
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
agent object
Represents a Fixie Agent.
owner object
The owner of this Agent.
user object
Represents a single Fixie User.
The email address for this user.
The name of the user. This is only used for display purposes.
The URL of the avatar image for this user.
The user's API token. This is only populated when a user accesses their own account information.
subscriptions object[]
The subscriptions for this user.
team object
Represents a Fixie Team.
The display name for this team.
The description for this team.
The URL of the avatar image for this team.
members object[]
The members of this Team.
user object
The user that is a member of this Team.
The email address for this user.
The name of the user. This is only used for display purposes.
The URL of the avatar image for this user.
The user's API token. This is only populated when a user accesses their own account information.
subscriptions object[]
The subscriptions for this user.
role object
The user's role on the Team.
True if the user is an admin for the team.
subscriptions object[]
The subscriptions for this team.
A short handle for this Agent.
The display name of this Agent.
A description of this Agent.
A URL with more information about this Agent.
The current Agent Revision ID used by this Agent.
Whether this Agent is published. Published Agents may be accessed by unauthenticated users.
Whether this Agent's UI is branded with the "Powered by Fixie" logo.
If specified, the agent will be created in the specified team. Otherwise, the agent will be owned by the user making the request.
- 200
- default
OK
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
agent object
Represents a Fixie Agent.
The unique ID of this Agent.
owner object
The owner of this Agent.
user object
Represents a single Fixie User.
The unique user ID for this user.
This field should not be populated in client requests.
The email address for this user.
The name of the user. This is only used for display purposes.
The URL of the avatar image for this user.
When this user was created.
This field should not be populated in client requests.
When this user was last modified.
This field should not be populated in client requests.
The user's API token. This is only populated when a user accesses their own account information.
When this user last logged in.
This field should not be populated in client requests.
subscriptions object[]
The subscriptions for this user.
The unique ID for this subscription.
Possible values: [SUBSCRIPTION_TYPE_UNSPECIFIED
, SUBSCRIPTION_TYPE_BUILDER
, SUBSCRIPTION_TYPE_STARTER
, SUBSCRIPTION_TYPE_PERFORMANCE
, SUBSCRIPTION_TYPE_OTHER
]
The type of subscription this represents.
Possible values: [SUBSCRIPTION_STATE_UNSPECIFIED
, SUBSCRIPTION_STATE_ACTIVE
, SUBSCRIPTION_STATE_CANCELED
, SUBSCRIPTION_STATE_EXPIRED
, SUBSCRIPTION_STATE_CANCEL_PENDING
]
The state of this subscription.
A description of this subscription.
When this subscription was created. This may not represent when the subscription was active, due to backdating.
When this subscription was last modified.
The timestamp when this subscription starts.
The timestamp when this subscription ends. If this subscription is active and has not been canceled, it will renew at this time.
team object
Represents a Fixie Team.
The unique ID for this team.
This field should not be populated in client requests.
The display name for this team.
The description for this team.
The URL of the avatar image for this team.
members object[]
The members of this Team.
The team ID.
user object
The user that is a member of this Team.
The unique user ID for this user.
This field should not be populated in client requests.
The email address for this user.
The name of the user. This is only used for display purposes.
The URL of the avatar image for this user.
When this user was created.
This field should not be populated in client requests.
When this user was last modified.
This field should not be populated in client requests.
The user's API token. This is only populated when a user accesses their own account information.
When this user last logged in.
This field should not be populated in client requests.
subscriptions object[]
The subscriptions for this user.
The unique ID for this subscription.
Possible values: [SUBSCRIPTION_TYPE_UNSPECIFIED
, SUBSCRIPTION_TYPE_BUILDER
, SUBSCRIPTION_TYPE_STARTER
, SUBSCRIPTION_TYPE_PERFORMANCE
, SUBSCRIPTION_TYPE_OTHER
]
The type of subscription this represents.
Possible values: [SUBSCRIPTION_STATE_UNSPECIFIED
, SUBSCRIPTION_STATE_ACTIVE
, SUBSCRIPTION_STATE_CANCELED
, SUBSCRIPTION_STATE_EXPIRED
, SUBSCRIPTION_STATE_CANCEL_PENDING
]
The state of this subscription.
A description of this subscription.
When this subscription was created. This may not represent when the subscription was active, due to backdating.
When this subscription was last modified.
The timestamp when this subscription starts.
The timestamp when this subscription ends. If this subscription is active and has not been canceled, it will renew at this time.
role object
The user's role on the Team.
True if the user is an admin for the team.
Whether the membership is pending acceptance of an invitation by the user.
When this membership was created.
When this membership was last modified.
When this team was created.
This field should not be populated in client requests.
When this team was last modified.
This field should not be populated in client requests.
subscriptions object[]
The subscriptions for this team.
The unique ID for this subscription.
Possible values: [SUBSCRIPTION_TYPE_UNSPECIFIED
, SUBSCRIPTION_TYPE_BUILDER
, SUBSCRIPTION_TYPE_STARTER
, SUBSCRIPTION_TYPE_PERFORMANCE
, SUBSCRIPTION_TYPE_OTHER
]
The type of subscription this represents.
Possible values: [SUBSCRIPTION_STATE_UNSPECIFIED
, SUBSCRIPTION_STATE_ACTIVE
, SUBSCRIPTION_STATE_CANCELED
, SUBSCRIPTION_STATE_EXPIRED
, SUBSCRIPTION_STATE_CANCEL_PENDING
]
The state of this subscription.
A description of this subscription.
When this subscription was created. This may not represent when the subscription was active, due to backdating.
When this subscription was last modified.
The timestamp when this subscription starts.
The timestamp when this subscription ends. If this subscription is active and has not been canceled, it will renew at this time.
A short handle for this Agent.
The display name of this Agent.
A description of this Agent.
A URL with more information about this Agent.
The creation time of this Agent.
The last time this Agent was modified.
The current Agent Revision ID used by this Agent.
Whether this Agent is published. Published Agents may be accessed by unauthenticated users.
Whether this Agent's UI is branded with the "Powered by Fixie" logo.
{
"agent": {
"agentId": "string",
"owner": {
"user": {
"userId": "string",
"email": "string",
"fullName": "string",
"avatarUrl": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"apiToken": "string",
"lastLogin": "2024-03-07T22:56:07.895Z",
"subscriptions": [
{
"id": "string",
"type": "SUBSCRIPTION_TYPE_UNSPECIFIED",
"state": "SUBSCRIPTION_STATE_UNSPECIFIED",
"description": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"startTime": "2024-03-07T22:56:07.895Z",
"endTime": "2024-03-07T22:56:07.895Z"
}
]
},
"team": {
"teamId": "string",
"displayName": "string",
"description": "string",
"avatarUrl": "string",
"members": [
{
"teamId": "string",
"user": {
"userId": "string",
"email": "string",
"fullName": "string",
"avatarUrl": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"apiToken": "string",
"lastLogin": "2024-03-07T22:56:07.895Z",
"subscriptions": [
{
"id": "string",
"type": "SUBSCRIPTION_TYPE_UNSPECIFIED",
"state": "SUBSCRIPTION_STATE_UNSPECIFIED",
"description": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"startTime": "2024-03-07T22:56:07.895Z",
"endTime": "2024-03-07T22:56:07.895Z"
}
]
},
"role": {
"isAdmin": true
},
"pending": true,
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z"
}
],
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"subscriptions": [
{
"id": "string",
"type": "SUBSCRIPTION_TYPE_UNSPECIFIED",
"state": "SUBSCRIPTION_STATE_UNSPECIFIED",
"description": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"startTime": "2024-03-07T22:56:07.895Z",
"endTime": "2024-03-07T22:56:07.895Z"
}
]
}
},
"handle": "string",
"displayName": "string",
"description": "string",
"moreInfoUrl": "string",
"created": "2024-03-07T22:56:07.895Z",
"modified": "2024-03-07T22:56:07.895Z",
"currentRevisionId": "string",
"published": true,
"branded": true
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}