---
title: "POST /v1/{+parent}/sessions:adapter"
method: POST
path: "/v1/{+parent}/sessions:adapter"
tags: ["projects"]
---

# POST /v1/{+parent}/sessions:adapter

`POST /v1/{+parent}/sessions:adapter`

Creates a new session to be used for requests made by the adapter. A session identifies a specific incarnation of a database resource and is meant to be reused across many `AdaptMessage` calls.

## Path parameters

- `parent` string, required

## Request body

- AdapterSession — A session in the Cloud Spanner Adapter API.
  - `name` string — Identifier. The name of the session. This is always system-assigned.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/spanner.md) · [All operations](https://skmtc.net/google/apis/spanner/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/spanner/versions/4b66067d2622/schema)
