# Get access profile in project

`GET /v1/projects/{project}/accessProfiles/{accessProfile}`, operation `accessProfiles.GetAccessProfileInProject`

Gets an access profile.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `accessProfile` | path | Yes | `string` | The access profile's ID. |

## Responses

### 200

OK

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `alias` | `string` | Yes | Short name unique within its organization or project, such as github/kosem or gcp/preview_viewer. |
| `availability` | `Availability` | Yes | For an organization's access profile: projects it is shared with. Shared profiles materialize read-only project copies automatically. |
| `availability.allProjects` | `boolean` | Yes | Every project, including those created later. |
| `availability.projects` | `string[]` | Yes | Projects, projects/{project_id}, when not all of them; at most 500. Past that, make the resource available to every project. |
| `config` | `map<string, object>` | Yes | Provider-specific ceiling scope for issued credentials. |
| `connection` | `string` | Yes | Resource name of the backing connection. |
| `createTime` | `string (date-time)` | Yes | When the access profile was created. |
| `description` | `string` | Yes | What this access profile is for. |
| `etag` | `string` | Yes | Opaque revision tag for optimistic concurrency on updates. |
| `name` | `string` | Yes | Resource name: organizations/{organization_id}/accessProfiles/{profile_id} or projects/{project_id}/accessProfiles/{profile_id}. |
| `provider` | `string` | Yes | Provider type, such as providers/github, providers/google-cloud or providers/aws. |
| `source` | `string` | No | For a shared project copy: resource name of the organization access profile it mirrors. |
| `state` | `string` | Yes | Whether credentials can be issued through this profile. Values: `ACTIVE`, `NEEDS_ATTENTION`. |
| `stateReason` | `string` | Yes | Why the profile needs attention. |
| `updateTime` | `string (date-time)` | Yes | When the access profile was last updated. |

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.