> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reducto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pipeline

> Run parse and extract in a single request using the Go SDK

<Note>
  The Pipeline endpoint is not yet available in the Go SDK. Please use the [REST API](/api-reference/pipeline) directly or check back for future SDK updates.
</Note>

For now, you can use the client's `Post` method to make direct API calls:

```go theme={null}
package main

import (
    "context"
    "fmt"
    "io"
    "os"
    
    reducto "github.com/reductoai/reducto-go-sdk"
    "github.com/reductoai/reducto-go-sdk/option"
)

func main() {
    client := reducto.NewClient(option.WithAPIKey(os.Getenv("REDUCTO_API_KEY")))
    
    // Upload first
    file, _ := os.Open("document.pdf")
    defer file.Close()
    
    upload, _ := client.Upload(context.Background(), reducto.UploadParams{
        File: reducto.F[io.Reader](file),
    })
    
    // Prepare pipeline request
    pipelineParams := map[string]interface{}{
        "input":       upload.FileID,
        "pipeline_id": "your-pipeline-id-here",
    }
    
    var result map[string]interface{}
    err := client.Post(context.Background(), "pipeline", pipelineParams, &result)
    if err != nil {
        fmt.Printf("Pipeline error: %v\n", err)
        return
    }
    
    fmt.Printf("Result: %+v\n", result)
}
```

***

## Next Steps

* Learn about [parse configuration](/sdk/go/parse) options
* Explore [extract configuration](/sdk/go/extract) options
* Use the [REST API](/api-reference/pipeline) for direct access
