---
agentTools:
  projectIndex: https://atendare.readme.io/llms.txt
---

# Buscar pipeline de qualificação e suas etapas

Exibe detalhes apenas do pipeline de qualificação buscado

[block:code]
{
  "codes": [
    {
      "code": "GET - 200\n\n{\n  \"success\": true,\n  \"data\": {\n    \"default\": false,\n    \"author_id\": 1,\n    \"author\": {\n      \"id\": 1,\n      \"detail\": \"Nome do autor\",\n      \"type\": 1,\n      \"user_id\": 1,\n      \"automation_id\": 1,\n      \"form_id\": 1,\n      \"import_id\": 1,\n      \"user_uid\": 1\n    },\n    \"creation_date\": \"2020-11-23T20:09:15Z\",\n    \"update_date\": \"2020-11-26T20:33:25Z\",\n    \"stages\": [\n      {\n        \"days\": 2,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2021-09-17T19:22:41Z\",\n        \"id\": 3,\n        \"name\": \"Em Aberto\",\n        \"status\": 1,\n        \"percentage\": 18.0\n      },\n      {\n        \"days\": 1,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:10:24Z\",\n        \"update_date\": \"2020-11-23T20:10:24Z\",\n        \"id\": 4,\n        \"name\": \"Em Qualificação\",\n        \"status\": 1,\n        \"percentage\": 50.0\n      },\n      {\n        \"days\": 0,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2020-11-23T20:09:15Z\",\n        \"id\": 1,\n        \"name\": \"Qualificado\",\n        \"status\": 2,\n        \"percentage\": 100.0\n      },\n      {\n        \"days\": 0,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2020-11-23T20:09:15Z\",\n        \"id\": 2,\n        \"name\": \"Descartado\",\n        \"status\": 3,\n        \"percentage\": 0.0\n      }\n    ],\n    \"id\": 1,\n    \"name\": \"Nome do pipeline\"\n  }\n}\n",
      "language": "json"
    }
  ]
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Atendare API - v2",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.atendare.com/v2"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/pipelines/qualifications/{id}": {
      "get": {
        "summary": "Buscar pipeline de qualificação e suas etapas",
        "description": "Exibe detalhes apenas do pipeline de qualificação buscado",
        "operationId": "search-pipeline-qualification",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID do pipeline",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "Access-Token",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": true,\n  \"data\": {\n    \"default\": false,\n    \"author_id\": 1,\n    \"author\": {\n      \"id\": 1,\n      \"detail\": \"Nome do autor\",\n      \"type\": 1,\n      \"user_id\": 1,\n      \"automation_id\": 1,\n      \"form_id\": 1,\n      \"import_id\": 1,\n      \"user_uid\": 1\n    },\n    \"creation_date\": \"2020-11-23T20:09:15Z\",\n    \"update_date\": \"2020-11-26T20:33:25Z\",\n    \"stages\": [\n      {\n        \"days\": 2,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2021-09-17T19:22:41Z\",\n        \"id\": 3,\n        \"name\": \"Em Aberto\",\n        \"status\": 1,\n        \"percentage\": 18.0\n      },\n      {\n        \"days\": 1,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:10:24Z\",\n        \"update_date\": \"2020-11-23T20:10:24Z\",\n        \"id\": 4,\n        \"name\": \"Em Qualificação\",\n        \"status\": 1,\n        \"percentage\": 50.0\n      },\n      {\n        \"days\": 0,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2020-11-23T20:09:15Z\",\n        \"id\": 1,\n        \"name\": \"Qualificado\",\n        \"status\": 2,\n        \"percentage\": 100.0\n      },\n      {\n        \"days\": 0,\n        \"author_id\": 1,\n        \"creation_date\": \"2020-11-23T20:09:15Z\",\n        \"update_date\": \"2020-11-23T20:09:15Z\",\n        \"id\": 2,\n        \"name\": \"Descartado\",\n        \"status\": 3,\n        \"percentage\": 0.0\n      }\n    ],\n    \"id\": 1,\n    \"name\": \"Nome do pipeline\"\n  }\n}\n"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "default": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "author_id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "author": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "detail": {
                              "type": "string",
                              "example": "Nome do autor"
                            },
                            "type": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "user_id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "automation_id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "form_id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "import_id": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "user_uid": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            }
                          }
                        },
                        "creation_date": {
                          "type": "string",
                          "example": "2020-11-23T20:09:15Z"
                        },
                        "update_date": {
                          "type": "string",
                          "example": "2020-11-26T20:33:25Z"
                        },
                        "stages": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "days": {
                                "type": "integer",
                                "example": 2,
                                "default": 0
                              },
                              "author_id": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "creation_date": {
                                "type": "string",
                                "example": "2020-11-23T20:09:15Z"
                              },
                              "update_date": {
                                "type": "string",
                                "example": "2021-09-17T19:22:41Z"
                              },
                              "id": {
                                "type": "integer",
                                "example": 3,
                                "default": 0
                              },
                              "name": {
                                "type": "string",
                                "example": "Em Aberto"
                              },
                              "status": {
                                "type": "integer",
                                "example": 1,
                                "default": 0
                              },
                              "percentage": {
                                "type": "integer",
                                "example": 18,
                                "default": 0
                              }
                            }
                          }
                        },
                        "id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Nome do pipeline"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61f3f7309a3abf0010b92516:6321c2774d63a2046332c98c"
}
```