Method: parsers.generateAiCustomParser

Full name: projects.locations.instances.logTypes.parsers.generateAiCustomParser

Generates a full custom parser using an autonomous multi-agent pipeline. This is a collection-level custom method returning an LRO.

HTTP request

POST https://{endpoint}/v1alpha/{parent}/parsers:generateAiCustomParser

Where {endpoint} is one of the supported service endpoints.

Path parameters

Parameters
parent

string

Required. The parent log type for which we are generating the custom parser. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logType}

Request body

The request body contains data with the following structure:

JSON representation
{
  "sessionId": string,
  "agentContextId": string,
  "docReferences": [
    string
  ]
}
Fields
sessionId

string

Optional. The conversation session ID. If omitted, the backend initializes a NEW greenfield generation session. If provided, the backend retrieves the previous code and history to REFINE the parser.

agentContextId

string

Optional. The agent context ID of the generation session. If not specified, a new context is created.

docReferences[]

string

Optional. External documentation URLs or schema references supplied to ground generation.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/chronicle

For more information, see the Authentication Overview.