# Pipelines Create RPC

## Pipelines Create RPC

Requests the creation of a new pipeline, based on a definition provided to the service.

rpc Create (stream PipelinesCreateRequest) returns (PipelinesCreateResponse)

## Types

• PipelinesCreateRequest
• PipelinesCreateResponse

## PipelinesCreateRequest

Copy
Copied!

message PipelinesCreateRequest {
PipelineDefinitionFile definition = 2;
}


## Properties

type: message

### definition

type: message

A file in the definition of the pipeline.

Note that this request is streamed to allow large pipeline definitions beyond the limits of a single GRPC message size. In the case of large pipelines, parts of the pipeline definition may be chunked into multiple parts such that the server will concatenate all parts having the same name into a single file server-side.

Definitions spanning multiple files can also be streamed via the create request.

Pipeline definition file names are case-preserving. When a definition contains multiple files with names that only differ by case, they will be combined into a single file using one of the colliding names as the combined file’s name.

See PipelineDefinitionFile for details.

## PipelinesCreateResponse

Copy
Copied!

message PipelineCreateResponse {
Identifier pipeline_id = 2;
}


Clara Deploy SDK Pipelines service will respond to any creation request with a PipelinesCreateResponse message. Requestors can use the response message to determine the result of their request.

type: message