Getting Access to Generative AI Agents

You can get access to Generative AI Agents resources with OCI Identity and Access Management (IAM) policies.

By default, only users in the Administrators group have access to all OCI resources including Generative AI Agents resources. If you’re a member of another group, ask your administrator to assign you the least privileges that are required to perform your responsibilities by reviewing the following sections.

Adding Policies Before You Can Use the Service

Before you use Generative AI Agents, ask your administrator to add the following policies:

About Generative AI Agents Resource-Types

Generative AI Agents has the following individual resource-types to use in Identity and Access Management policies. You can assign different permissions to different user groups based on how they can use the following resource types:

  • genai-agent: An agent
  • genai-agent-knowledge-base: The knowledge base associated with an agent.
  • genai-agent-data-source: The data source associated with a knowledge base
  • genai-agent-data-ingestion-job: The job that ingests data from a data source.
  • genai-agent-endpoint: An endpoint to access the agent
  • genai-agent-work-request: The work request for Generative AI Agents operations
  • genai-agent-session: An agent's chat session
In addition to preceding listed individual resource types, you can use the aggregate resource type, genai-agent-family to include all seven Generative AI Agents resource types in a policy, for example:
allow group <genai-agent-administrators> to manage genai-agent-family in tenancy
Aggregate Resource-Type Included Individual Resource-Types
genai-agent-family
  • genai-agent
  • genai-agent-knowledge-base
  • genai-agent-data-source
  • genai-agent-data-ingestion-job
  • genai-agent-endpoint
  • genai-agent-session
  • genai-agent-work-request

Giving Users Granular Permission for Each Resource-Type

This section lists the permissions for Generative AI Agents operations. The level of access is cumulative as you go from inspect to read to use to manage. For example, if you have permission to manage the genai-agent-endpoint resource-type, then you can list, get details for, create, and delete endpoints. You don't require another permission to inspect the endpoints. Expand each resource-type for its permissions.

Matching Permissions to API Operations

The following table lists the permissions required for Generative AI Agents API operations.