All URIs are relative to https://autopilot.twilio.com
Method | HTTP request | Description |
---|---|---|
CreateModelBuild | Post /v1/Assistants/{AssistantSid}/ModelBuilds | |
DeleteModelBuild | Delete /v1/Assistants/{AssistantSid}/ModelBuilds/{Sid} | |
FetchModelBuild | Get /v1/Assistants/{AssistantSid}/ModelBuilds/{Sid} | |
ListModelBuild | Get /v1/Assistants/{AssistantSid}/ModelBuilds | |
UpdateModelBuild | Post /v1/Assistants/{AssistantSid}/ModelBuilds/{Sid} |
AutopilotV1ModelBuild CreateModelBuild(ctx, AssistantSidoptional)
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
AssistantSid | string | The SID of the Assistant that is the parent of the new resource. |
Other parameters are passed through a pointer to a CreateModelBuildParams struct
Name | Type | Description |
---|---|---|
StatusCallback | string | The URL we should call using a POST method to send status information to your application. |
UniqueName | string | An application-defined string that uniquely identifies the new resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the sid in the URL path to address the resource. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteModelBuild(ctx, AssistantSidSid)
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
AssistantSid | string | The SID of the Assistant that is the parent of the resources to delete. |
Sid | string | The Twilio-provided string that uniquely identifies the ModelBuild resource to delete. |
Other parameters are passed through a pointer to a DeleteModelBuildParams struct
Name | Type | Description |
---|
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AutopilotV1ModelBuild FetchModelBuild(ctx, AssistantSidSid)
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
AssistantSid | string | The SID of the Assistant that is the parent of the resource to fetch. |
Sid | string | The Twilio-provided string that uniquely identifies the ModelBuild resource to fetch. |
Other parameters are passed through a pointer to a FetchModelBuildParams struct
Name | Type | Description |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]AutopilotV1ModelBuild ListModelBuild(ctx, AssistantSidoptional)
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
AssistantSid | string | The SID of the Assistant that is the parent of the resources to read. |
Other parameters are passed through a pointer to a ListModelBuildParams struct
Name | Type | Description |
---|---|---|
PageSize | int | How many resources to return in each list page. The default is 50, and the maximum is 1000. |
Limit | int | Max number of records to return. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AutopilotV1ModelBuild UpdateModelBuild(ctx, AssistantSidSidoptional)
Name | Type | Description |
---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. |
AssistantSid | string | The SID of the Assistant that is the parent of the resource to update. |
Sid | string | The Twilio-provided string that uniquely identifies the ModelBuild resource to update. |
Other parameters are passed through a pointer to a UpdateModelBuildParams struct
Name | Type | Description |
---|---|---|
UniqueName | string | An application-defined string that uniquely identifies the resource. This value must be a unique string of no more than 64 characters. It can be used as an alternative to the sid in the URL path to address the resource. |
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]