# AISearch

## Instances

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceNewResponse">InstanceNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceUpdateResponse">InstanceUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceListResponse">InstanceListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceDeleteResponse">InstanceDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceChatCompletionsResponse">InstanceChatCompletionsResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceReadResponse">InstanceReadResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceSearchResponse">InstanceSearchResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceStatsResponse">InstanceStatsResponse</a>

Methods:

- <code title="post /accounts/{account_id}/ai-search/instances">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceNewParams">InstanceNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceNewResponse">InstanceNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/ai-search/instances/{id}">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceUpdateParams">InstanceUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceUpdateResponse">InstanceUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceListParams">InstanceListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceListResponse">InstanceListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/ai-search/instances/{id}">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceDeleteParams">InstanceDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceDeleteResponse">InstanceDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/ai-search/instances/{id}/chat/completions">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.ChatCompletions">ChatCompletions</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceChatCompletionsParams">InstanceChatCompletionsParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceChatCompletionsResponse">InstanceChatCompletionsResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.Read">Read</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceReadParams">InstanceReadParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceReadResponse">InstanceReadResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/ai-search/instances/{id}/search">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.Search">Search</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceSearchParams">InstanceSearchParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceSearchResponse">InstanceSearchResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}/stats">client.AISearch.Instances.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceService.Stats">Stats</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceStatsParams">InstanceStatsParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceStatsResponse">InstanceStatsResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Items

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemListResponse">InstanceItemListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemGetResponse">InstanceItemGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/ai-search/instances/{id}/items">client.AISearch.Instances.Items.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemListParams">InstanceItemListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemListResponse">InstanceItemListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}/items/{item_id}">client.AISearch.Instances.Items.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, itemID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemGetParams">InstanceItemGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceItemGetResponse">InstanceItemGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Jobs

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobNewResponse">InstanceJobNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobListResponse">InstanceJobListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobGetResponse">InstanceJobGetResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobLogsResponse">InstanceJobLogsResponse</a>

Methods:

- <code title="post /accounts/{account_id}/ai-search/instances/{id}/jobs">client.AISearch.Instances.Jobs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobNewParams">InstanceJobNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobNewResponse">InstanceJobNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}/jobs">client.AISearch.Instances.Jobs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobListParams">InstanceJobListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobListResponse">InstanceJobListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}/jobs/{job_id}">client.AISearch.Instances.Jobs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, jobID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobGetParams">InstanceJobGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobGetResponse">InstanceJobGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/instances/{id}/jobs/{job_id}/logs">client.AISearch.Instances.Jobs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobService.Logs">Logs</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, jobID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobLogsParams">InstanceJobLogsParams</a>) (\*[]<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#InstanceJobLogsResponse">InstanceJobLogsResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Tokens

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenNewResponse">TokenNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenUpdateResponse">TokenUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenListResponse">TokenListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenDeleteResponse">TokenDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenReadResponse">TokenReadResponse</a>

Methods:

- <code title="post /accounts/{account_id}/ai-search/tokens">client.AISearch.Tokens.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenNewParams">TokenNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenNewResponse">TokenNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/ai-search/tokens/{id}">client.AISearch.Tokens.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenUpdateParams">TokenUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenUpdateResponse">TokenUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/tokens">client.AISearch.Tokens.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenListParams">TokenListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenListResponse">TokenListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/ai-search/tokens/{id}">client.AISearch.Tokens.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenDeleteParams">TokenDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenDeleteResponse">TokenDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/ai-search/tokens/{id}">client.AISearch.Tokens.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenService.Read">Read</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, id <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenReadParams">TokenReadParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search">ai_search</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/ai_search#TokenReadResponse">TokenReadResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
