---
title: "Request code analysis for an application"
method: POST
path: "/apps"
tags: ["Analysis"]
---

# Request code analysis for an application

`POST /apps`

Request data-centric code analysis for specified application.
Currently URL for a Git repository is allowed as application source code.
If successful, new resource for the analysis result will be created and its URL will be returned.
If failed, a Bad Request error (400) will be returned with its reason.

## Request body

- NewApp
  - `id` string, required — Unique key for identifying each app.
  - `name` string — Display name for the app, which does not need to be unique.
  - `source` AppSource, required — Application source info that points to GitHub repository.
    - `github_url` string, uri, required

## Response `201`

Analysis is successfully completed and results are generated.

## Other responses

- `400` — Analysis failed.

---

[API](https://skmtc.dev/konveyor/apis/tackle-diva-data-intensive-validity-analyzer.md) · [All operations](https://skmtc.dev/konveyor/apis/tackle-diva-data-intensive-validity-analyzer/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/konveyor/tackle-diva-data-intensive-validity-analyzer/revisions/7bc11f282617/schema)
